hasti.lm
پنج شنبه 27 بهمن 1390, 09:02 صبح
من در برنامم که در VS2010 هستش دارم از Crystal report 13 استفاده میکنم . که در local جوای میده اما وقتی اونو publish میکنم و روی سرور windows serveer 2003 قرار می دم خطای زیر رو دریافت می کنم:
Retrieving the COM class factory for component with CLSID {4DB2E2BB-78E6-4AEA-BEFB-FDAAB610FD1B} failed due to the following error: 80070005 Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {4DB2E2BB-78E6-4AEA-BEFB-FDAAB610FD1B} failed due to the following error: 80070005 Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).
ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6 and IIS 7, and the configured application pool identity on IIS 7.5) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.
من روی سرور فقط msi فایل 32 بیتی crystal 13 رو نصب کردم. ممنون میشم اگه هر چه زودتر منو راهنمایی کنید. روی local هم همینو نصب کردم. تو یه مطلب که من خوندم نوشته بود برای وب باید از ورژن 10 Crystal استفاده بشه و فایلهای crystal هم در مسیر C:\Program Files \Common Files قرار داشته باشه. ولی crystal بعد از نصب فایلهاش در این مسیر قرار نمی گیره.
Retrieving the COM class factory for component with CLSID {4DB2E2BB-78E6-4AEA-BEFB-FDAAB610FD1B} failed due to the following error: 80070005 Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {4DB2E2BB-78E6-4AEA-BEFB-FDAAB610FD1B} failed due to the following error: 80070005 Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)).
ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6 and IIS 7, and the configured application pool identity on IIS 7.5) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.
من روی سرور فقط msi فایل 32 بیتی crystal 13 رو نصب کردم. ممنون میشم اگه هر چه زودتر منو راهنمایی کنید. روی local هم همینو نصب کردم. تو یه مطلب که من خوندم نوشته بود برای وب باید از ورژن 10 Crystal استفاده بشه و فایلهای crystal هم در مسیر C:\Program Files \Common Files قرار داشته باشه. ولی crystal بعد از نصب فایلهاش در این مسیر قرار نمی گیره.