WordAutomation Not Working When Published To IIS Webserver?
Sep 15, 2010
I am bulding a site that will create word documents from templates and fill in the bookmarks. Its working fine when running locally in VS but when I publish to the webserver it seems to have an issue opening word. Durning testing I created a new site that only has the code below and its still not working - you click on a button and it looks to have worked but word never opens. I have done 2 days of fault finding to no avail. The server has office 2003 installed and I have put the correct dlls in the bin folder of the project and still no joy - I have played around with as many settings as I can in IIS and still nothing.
[Code]....
I am using;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Microsoft.Office;
using Word = Microsoft.Office.Interop.Word;
using System.Reflection;
View 4 Replies
Similar Messages:
Mar 6, 2011
I had a Handler to display User's Image by UserId. it worked when I debug in Microsoft Visual Studio 2010, But when I published to the web server the Image did not display. I also used Microsoft Visual Studio 2010 to debug from the the Directory on the web server, it worked too. But when I tried it through browser it doesn't work.
Here is the Handler:
[code]...
View 4 Replies
Nov 9, 2010
I've read different posts on both of these issues and maybe I'm just not understanding what needs to be done. Here is my dilimma. I am running Windows Vista with IIS 6 and coding in VS 2010 using .NET 4 for the ASP.NET site. I installed the AjaxControlToolkit.NET4 in VS 2010 with no issues. I even used the TabContainer and had no problems on my machine, at least when debugging. When I publish it out and install on my remote Webserver 2008 with IIS6, I get the following errors:
Webpage error details
Message: ASP.NET Ajax client-side framework failed to load.
[code]....
I can't see the tab container...Likewise My reports (using reportviewer) on local machine are displaying perfectly but on my webserver they are not showing...
View 16 Replies
Nov 17, 2010
the codes given below only working on localhost but not on web server.
[Code]....
View 15 Replies
Aug 3, 2010
i m using ajax toolkit 3.0.30930.0 for asp.net 3.5 with vs 2008. it works fine while running on the local machine but while uplaoding on the web server produce following error in the webconfig file,custom error set to off
should i do some changes in web config file before hosting it to the server. i m using script manager from ajax extension rather than toolkit script manager
View 1 Replies
May 22, 2010
After publishing the solution from Windows XP, the AJAX pro tool are not working after being deployed to Windows Server 2008.
How can I solve this problem?
Using C#, .NET 3.5, and DevExpress tools.
View 1 Replies
Jun 25, 2010
i m having a big problem as my validatyion controls are not working on my form.
they r working fine on my local machine, but on webserver, they r not firing up.
the form gets submitted and gives error "there is no data at position 0....like that"
View 4 Replies
Sep 25, 2010
i am using the mail sending facilily in asp.net using system.net.mail and system.net.mime.my code is work fine on local host but show the followiing error on webserver as exception
[Code]....
View 3 Replies
Jun 22, 2010
I have developed an webapplication with some jquery and ajax (client side validations), it works fine when run locally.
But when i publish it to the IIS, the client side execution is not taking place.
Do I need to tweak the IIS to make it work.
I am using VS2008 and .net framework 2.0 on a winxp machine.
I am trying to publish to the local IIS (5.0).
View 4 Replies
Sep 12, 2010
I`m using Microsoft office document imaging library (MODI) in my web application.
I`ve a page where a user uploads an image file and the server code converts this image into text form using MODI. Everything works fine when the website is running through visual studio but when i run it through local iis then i receive an exception.
my code is:
[Code]....
The code is perfectly fine because it works fine through visual studio otherwise when run through IIS i receive an exception at the last line written above saying.
Object isn`t initialized and can`t be used yet.
i didn`t catch the exception at last line because trying to figure out whats exactly wrong.
View 2 Replies
Mar 17, 2011
I am writing some IO functionality into my ASP.net page (C#). Basically what Im trying to do is, to get a list of file/folder names from a network share and display them on the webpage.
It works great in my DEV environment, on my machine, but it does not work on the published version on my IIS machine. I have not been able to get it to throw an error (I'll keep trying in the meantime). But, it would seem to me that it is some sort of permissions issue. I have given the ASPNET user admin access on the network machine, that the folder share is located. I have added NETWORK SERVICE (with FULL access) to the security rights of the shares Im trying to access.
View 5 Replies
Mar 9, 2010
AsyncFileUpload not working when .net app published to web server. It works fine in testing on my pc. I have checked security settings. I can get other upload scripts to work, but I wanted to try using the AJAX AsyncFileUpload. I thought maybe it's something on the server blocking it, but not errors, It just keeps saying "uploading" but it never finishes and it never uploads the file. Has anyone else had this happen?
View 2 Replies
Apr 5, 2010
I have an asp.net that produces a Word document. I want to allow users to download the file to their local drive. I use a hyperlink to achieve this and it works fine from my development site. However, when the website is accessed from a non development machine, I am sent to the proper directory, but instead of the open/save/cancel dialog I am presented with a "Convert File" dialog. Any of the selected file types I select download unusable files. I think this has to do with office being installed on the local machine on which I am attempting the download. Is there any way I can simply download a file from a virtual file to my local drive?
View 2 Replies
Apr 16, 2010
I'm quite new to ASP and I can't seem to figure out how to get the application/website to work properly on my webserver. The first thing I had done was to build the solution, shortly followed by 'build website' and at last, to 'publish website'. It saved the files to C: -> Documents -> MS VS -> Projects -> My website.
There, the following files are found:
Account [folder]; App_Data [folder]; Scripts [folder]; Styles [folder]; bin [folder]; Web.config; Site.master; Default.aspx; About.aspx and PrecompiledApp.config.
I then uploaded these via FTP to my webserver and accessed the appropriate URL. Seems nothing showed up in root beside "Index of/". When I tried to access /Default.aspx, nothing but text appeared (which would be the code displayed in Default.aspx).
I've also read some tutorials regarding this matter where they instructed me to upload directly from Visual Studio to the FTP server, but I'm kind of afraid that it'll delete everything in said folder, as I don't know what the structure of said direct upload should be like.
View 2 Replies
Dec 15, 2010
I have created an application which is relying on routing extensively. it works fine in my development machine, and when deployed in the local IIS server. but when i publish it to remote server routing does not work? any idea why it happens. i also have the following in my web.config
[Code]....
View 1 Replies
Mar 3, 2010
I published my application into server. Some reason gridview paging is not working when i open the application from the server.
Note: When I ran the application at my local system using VS-2008 it's working fine.
View 1 Replies
Apr 13, 2010
I am a newbie to asp.net and have recently been building a web... I have a login control on the main page which when logged in verifys the user and redirects them to the home page... I published this to the server previously and it worked. Today when I tried logging into my system however I got the following error message:-
"Your login attempt was not successful. Please try again."
The accounts did work before but since I have uploaded a newer version of my program onto the server the above message is displayed. I have been on many websites and read previous forums with suggesstions to add <roles> in the web.config file however the login control worked before and I have not changed anything on the site apart from a different page that doesnt affect the login.
Few points to make... the login control is using the asp.net configuration pre built tables it generates for you, I have created the users and roles inside of asp.net configuration so it is not a custom membership... I am at a complete loss as how to get my login control to work having tried to insert roles into the webconfig file.
View 3 Replies
Sep 13, 2010
I have weird issue here, I have a method that takes a login Id and authenticates with LDAP active directory and returns the employee Id. It works great when I run the application in Visual studio 2008 ( it uses the default visual studio developement webserver). The code authenitcates the login id and returns emp Id perfectly. But the problem comes when I publish the code to the Local IIS in my developement PC.
[Code].....
View 4 Replies
Feb 21, 2011
I am very new to ASP.net. I am using asp.net 4 on IIS 6. I have another company that has setup the webserver.I have an existing website that is on the same domain that is just plain old .asp, html. The .NET part is for a client dashboard/members area.I just would like to get "deny users" to work in my web.config file. It works on my localhost but it will not work on my web server. I made sure that they created the APP_DATA folder with write permissions, so I can register users and they can login butI can't make a directory that is only for all users.I tried this in the root and created a web.config file in the directory client_area, but nothing worked.
<location path="client_area/MemTest.htm">
<system.web>
<authorization>
[code]...
View 3 Replies
Dec 29, 2010
I published my asp.net app using the basic capability (publish to disk). Now I look at the published content and it contains .cs files. Is this correct? I did right-click 'convert to web application', but the .cs files still appear.
View 1 Replies
Mar 31, 2011
I wrote an ASP.NET web application. My application created a request with returning URL other e-commerce server. I want to get this.
[URL]
I used Request.Url.AbsoluteUri. But it's not OK for typing address by user.
View 1 Replies
Jan 28, 2011
I am facing a new kinda probs, i am using the jquery to fill the state dorpdown on the change of country dropdown and the code of the jquery is on a js file so i bind the static client id like ct100_ddlCountry, this is working properly on the localhost but when i host this website to web server it not working because the client generating on the server is _ct100_ddlColuntry.
View 3 Replies
Jun 21, 2010
I am working on a project. Client provided me source code, but I found that source code provided to me is not latest code. I need to make some changes to live site. I downloaded code of live site which is published code. Is there any way to decompile that and then make changes to that.
I found Reflector tool good to some extent. But it is decompiling only dlls. It is difficult to make changes to .aspx.cs pages. I am confused what to do.
View 3 Replies
Jan 14, 2011
I created an ASP.NET site in Visual Web devloper 2010 & then published it to our webserver. Due to the nature of the site, there are several users updating the content on the site (e.g. news pages). Is there a simple way to merge these changes back into my project? Can I just copy the published site back over my project folder which should overwrite the aspx pages but leave the code behinds untouched?
View 4 Replies
Mar 30, 2010
I am developing the online bidding system using asp.net where I need to close the auction if the auction time is get closed without any bid.
As in the following web site :
{URL}Please help me to resolve to this problem.
View 1 Replies