PDA

View Full Version : سوال: word در asp.net



saba.saba
چهارشنبه 06 مرداد 1389, 07:46 صبح
سلام من میخوام یک فایل word را که به صورت باینری در بانک ذخیره شده در برنامه ASP.NET خودم باز کنم و تغییرات را در محیط word بدم و دوباره آنرا در بانک ذخیره کنم و دکمه save as را هم در word غیر فعال کنم

morycom
سه شنبه 09 شهریور 1389, 09:26 صبح
سلام
منم همین مشکل رو دارم
لطفا اگه کسی میدونه راهنمایی کنه
ممنون:لبخندساده:

yosefi_hossein
سه شنبه 09 شهریور 1389, 13:22 عصر
سلام پیشنهاد میکنم از freetextbox استفاده کنی لینک دانلودش اینجاست (http://www.brothersoft.com/stimulreport.net-34084.html)

morycom
شنبه 13 شهریور 1389, 09:56 صبح
نه ممنون من از dll های خود دات نت استفاده کردم از microsoft word 11.0 object library ولی با این مشکل بعد از publish مواجه شدم
لطفا کمک کنید خیلی گیرم

Server Error in '/' Application.
--------------------------------------------------------------------------------

Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80070005.
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 {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80070005.

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) 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.

To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80070005.]
sadere_pishnevic.darje_emza() +42
sadere_pishnevic.btn_sabt_emza_Click(Object sender, EventArgs e) +819
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
System.Web.UI.WebControls.Button.RaisePostBackEven t(String eventArgument) +107
System.Web.UI.WebControls.Button.System.Web.UI.IPo stBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1746




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433