Configuration :: Excel Not Getting Creating In The Published Site?

May 14, 2010

My application has a requirement of creating an excel sheet from the database on clicking logout buttonThis is implemented using the following com Components:Microsoft Excel 11.0 Object LibraryI created a Folder(Temp) in the application .When ever user clicks on the log out button, A folder(with the session name ) in Temp Folder gets created and the excel file is created here.Now every thing works fine on the local machine(User is getting the prompt for open and save etc)When I publish this .Nothing seems to be working.There is a n error that says" Could not find the excel at the said location(Tempseesion NmaeName.xls)The excel is not geting created when application is publised.

View 5 Replies


Similar Messages:

Configuration :: Network Drive Mapping Works In IDE, But Not On Published Site?

Apr 27, 2010

I am able to save documents to a network drive from my c# asp.net application when it is run from my developmet machine, but not when the application is deployed to a website. Below I list the code that makes the call to map the drive the class is a standard class for this purpose. Can anyone help me figure out what is wrong?CODE:

The code that instantiates the mapping class
NetworkDrive drive = new NetworkDrive();
drive.ShareName = @"\38.186.8.244Docs";

[code]....

View 8 Replies

Configuration :: Creating Dynamic Site Map Page

Oct 5, 2010

I have created a ASP.Net application which basically serves as a content management site. I need to create a Sitemap for our website which should be dynamic. I've tried Telerik's Sitemap control for ASP.net Ajax and found it useful. I want to know which is the best way to create a dynamic site map page in an ASP.net application before i proceed with the telerik control.

View 1 Replies

Merging Changes To Published Site

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

Download Link Not Working From Published Site?

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

Web Forms :: Flash Video Not Loading When Site Is Published?

Oct 13, 2010

I have a WebForm which has an ImageButton. When clicked, it will open a new window (using javascript). This new window,will load an html page (video.html).

[Code]....

In the website root theres a folder called Content, inside it theres anothe folder called Video and inside Video there are alll the objects

that the video needs. When I try this in debug mode, it works. However, when I publish my website, and click the ImageButton the new window opens, and the FLV player shows, but the video never loads.

View 21 Replies

Routing Not Firing When Site Is Published To Remote Host?

Feb 5, 2010

I have a website that was originally written in webforms to which I have added MVC functionality. When debugging locally it works fine, however, once published and uploaded to my host the routes do not work and return a 404. I am pretty sure that I have uploaded all the correct files. Would just appear that routing is not working.

(the site will still serve normal aspx pages fine)

I think the problem may be related to http://stackoverflow.com/questions/1772975/mixing-asp-net-mvc-into-asp-net-webforms

But I cant see from that thread what the solution was. It looks like it might be something to do with the app_pool mode - but I am running in integrated mode, which is right AFAIK

UPDATE 2

So I think I have routing working. I basically created a new MVC app and went through theweb config file line by line and made sure I have everything I needed. Funnily, none of the tutorials online mention the correct additions you need to make. I have have another issue mind you... When i load my mvc page I am greeted with the message: The SessionStateTempDataProvider requires SessionState to be enabled.

I've added a line to web.config to enable sessions (wasn't aware they were off) and it still doesnt work.

UPDATE I created a new asp.net MVC project and ended up going through web.config line by line and ensuring that everything that related to MVC was included in my hybrid app. Suffice to say that none of the guides mention all the settings that are required (i was using the book professional asp.net mvc 1.0). I then included the global.asax file which is not published and set up a route so that a request for / was not being caught by MVC. I also had to enable sessions in web.config.

View 1 Replies

Configuration :: Can't Browse A Published Web Application

Jan 19, 2011

I have published my ASP.Net Web Application on remote IIS server using Project --> Publish options.

But I am not able to browse it.

View 2 Replies

Configuration :: C# Web Application Slow Once Published

Jan 12, 2011

My application runs quickly when debugging locally, but slows down to an almost unusable state once published. Oddly, the published version seems to be grabbing data very quickly from MSSQL - it's the part where I'm updating datatables and gridviews that is very slow. For example:

[Code]....

View 8 Replies

Configuration :: Anonymous Access For Published Web Application?

May 5, 2010

I check WindowsPrincipal.Identity.Name against Active Directory security groups before allowing the user to edit data. If the user is not authorized I just present a read-only version of the data.

When I run my web app from the IDE everything works fine. I published the web app, made sure anonymous access was disabled, and invoked it from IE. The read-only page came up.

I then added code to write to the event log to display the WindowPrincipal.Identity.Name and saw that instead of displaying the user name, it was instead showing the server name. I verified again that Anonymous Access is disabled and integrated security is on.

View 3 Replies

Configuration :: Published Web Application (website) Not Working

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

Configuration :: COM Component Not Working In Published Website?

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

Configuration :: IO Functionality Not Working On Published Website?

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

Configuration :: How To Change Or Edit Published Website

Jul 22, 2010

how can i change or edit Asp.net published website. i hve onle published files. i dont have pe published files

View 1 Replies

Configuration :: Published But .aspx.vb Files Not Deployed?

Jun 10, 2010

I published my brand new site the first time to the brand new server and when testing it I noticed that none of the .aspx.vb code behinds was deployed and I got an error that those were missing.

View 7 Replies

Configuration :: Network Printer Is Not Accessible In Published Pages?

Apr 13, 2010

I am using third party component for printing purposes (Combit list and label). There is dll which has function for printing. (means it suppresses the print dialgue box and have information embedded in a file about the printer location). The printer is shared printer and attached to machine which is different from the development machine. Now the printing from this printer works fine during debugging. But when I publish the pages in virtual directory and then executing the application does not print. (pages are also published on the development machine).

View 3 Replies

Configuration :: Custom Class Inside App_code After Published?

Apr 6, 2010

I have some problem in app_code. I created one class name as class1 in side app_code.... Now I have a grid view with lots of textboxes inside it(itemtemplete). I call class1 to fill the all the values in my database with get set properties..... it working awesome on local. but problem is that after published it is not working.... I mean class1 is not called after publishing.... And app_code folder also not appearing at published folder.

View 5 Replies

Configuration :: ITextSharp Saying File Not Found When Published To Server?

Jun 29, 2010

I am using ItextSharp and I am getting a new font for it by doing this

[Code]....

That file is in that directory on both my dev machine and the server. When i run this on my dev machine it works fine, when published to my server I get an error saying FREE3OF9.TTF is not found as a file or a resource. I have double and triple checked that the file is in fact there on my server. My application has full trust on IIS. and IIS user has full access to this folder and this file.And still I get this error. Very frustrating. This code is Not inside the Web Application but inside a DLL class library that the web application is referencing. Do I need to add any more special permissions or something?

View 10 Replies

Configuration :: Console Application's Published Version Appconfig File

May 26, 2010

After publishing the console application. We changed few connection strings related values in the app.config file, but the values changed is not been reflected in the published version.

What might be the cause for not reflecting the values which has been changed ???

View 2 Replies

Configuration :: Web App Accesses Data Under Debug But Not When Published To Target Machine

Dec 4, 2010

I have a simple web app that queries a server based database. I have tested with both a simple MySQL table and Access tables. The problem is the same whatever 'backend database' that I use. When I run my web application under the VS 2008 debuger then all works fine. No problems with the code. I then publish my web app to either my local IIS or to a different PC's IIS on my network. I then get 'intermittnet' problems reading the data tables. The connection strings are fine. I get a connection. It is when I try and fill the tables that I get errors. The web app just seems to 'hang'.

If I publish to a different IIS on my network (on a different server) the I get the same problems. If I reboot the IIS machine then I seem to be able to get to my data for a while before the IIS seems to 'lock up' and I can't read data anymore. Is this an IIS/authentication/resource issue?

View 1 Replies

Configuration :: Local Works Fine But Published Website Fails With Error?

Dec 7, 2010

I have a solution that has 2 projects in it... Project #1 is a class I created some time back to deal with the basic data connection and passing data back and forth.

The 2nd project is the new current project (web site).

Everything works fine in local mode but after I have compiled Project #1 and created a referance in Project #2 then compiled Project #2 and published to the server...

I am running on Windows 7 64bit, .NET 4.0, Access 2010, SQLExpress (loging only), C#... I have rebuilt Project #1 several times as an x86, AnyCPU, and x64... they all give the same result...

I get the following error when the web site is run.

[Code]....

View 4 Replies

Configuration :: Site Is Not Showing Any Content At Live Site From Database?

Jun 15, 2010

I am working at a site not orginally devleoped by me. The problem is that all the pages are working fine and have no problem at my local site. but the site is not showing any content at live site from database. Niether it shows an error for it. How can I find the problem?

View 7 Replies

Configuration :: Deploy A .NET 4 Site To Upgrade An Existing .NET 1.1 Site?

Oct 3, 2010

I am neither a server administrator nor very knowledgable about how to configure IIS, so I have the following problem:

My client hosts their public website from their own internal server running Server 2003 with IIS 6. The current website is a .NET 1.1 application configured as a website in IIS. Within this site a separate virtual directory configured as an application runs a separate .NET 1.1 app that serves as their online webstore.

I've been tasked with upgrading the website (not the webstore) to .NET 4 and getting it installed and working on their server. My initial plan was to simply change the existing websites home directory to the new home directory from the IIS admin console and be done, but then I read that this would break the application directory that hosts their online store because .NET 1.1 applications cannot be nested within .NET 4 applications. Can anyone confirm this?

View 3 Replies

Configuration :: Error Occurred Creating The Configuration Section Handler?

Jun 4, 2010

Excuse me this common error. I´ve found a lot of info in Google but I´ve not found my error. I´m trying to read some data from a custom section in web.config and I don´t know which is my error?

[Code].....

View 1 Replies

Configuration :: Doesn't Work When Published To Virtual Server Running Windows Server 2008 R2?

Feb 26, 2011

Does anyone know of any requirements to get the Ajax Control Toolkit (Calendar Extension in particular) working in this OS? I have it working on my local macjine (VS 2010 Development Server) but it doesn't work when published to my Virtual Server running Windows Server 2008 R2. No errors are reported, just nothing happens when I give focus to the Calendar textbox (no Calendar appears).Anyone know of any configutrations that need to be made in Windows Server 2008 R2?Is there a 32-bit/64-bit issue with the Toolkit?

View 8 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved