Configuration :: Can't Browse A Published Web Application
Jan 19, 2011I have published my ASP.Net Web Application on remote IIS server using Project --> Publish options.
But I am not able to browse it.
I have published my ASP.Net Web Application on remote IIS server using Project --> Publish options.
But I am not able to browse it.
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]....
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.
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).
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 ???
I am new in ASP.net. I published my web project using the steps stated in below address
[URL]
Now i am able to browse my project using the below url
http://COMPUTER_NAME/PROJECT_NAME/Default.aspx
and
http://IP_ADDRESS/PROJECT_NAME/Default.aspx
but form other computers in the LAN i can't access it.
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.
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.
how can i change or edit Asp.net published website. i hve onle published files. i dont have pe published files
View 1 RepliesMy 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 RepliesI 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 RepliesI 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 RepliesI 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 RepliesI 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?
I have a web application which I uploaded using IIS. I want the users using the application would be able to select a file located on their (the user) computer and read its contents.
TextReader trs = new StreamReader(faFile.Value);
DataAccessLayer.clearFA();
string line = trs.ReadLine();
// Read all unneeded data
[code]...
When publishing my web application and then running it will return the error
"Could not load file or assembly 'BaseApplicationName' or one of its dependencies. An attempt was made to load a program with an incorrect format."
However if I run the application through debugging (f5) it runs correctly.
I guess what it comes down to is
what differences are there when running an application through debugging vs publishing it that would cause a problem like this?
When publising I have it set to delete all existing.
History of how it started... I added the 32 bit Oracle.DataAccess dll to my 64 bit system. It would not work and crash giving the same error as above but with the Oracle.DataAccess name instead of the baseApplicationName. I have since removed all references to it and removed the dll to try and get it to run without it once again.
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.
Can I get Code website asp.net by save it or another way
the web site published on the internet by another person
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]....
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?
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]....
If my application URL is this:
http://localhost:51422/MyApp/Pages/FormView.aspx
I want 2 things:
1- I don't want any people to delete "...../FormView.aspx" and go to this[URL] and browse the directory pages and folders names.
2- If anybody tired that, the application should redirect him to login page or home page.
Browse client folder directory using asp.net application.
View 1 RepliesI want to create an asp.net application which allow user to specify text file path and create a text file on the specified location by doing some processing from the sql server database.for specifying path of the txt file i am using setting
.xmlsetting.xml
<TextFilePath> "D:Text" <TextFilePath> //as specified by the user.
The code is working fine if it is not published Once the application is uploaded on the server(published) and run under the virtual directory.
I am created a setup project of asp.net MVC application with Telerik controls used.
Server deployed : win 2008
MVC version : 2.0
.net Framework : 4.0
Visual Studio : 2010