Configuration :: Publishing A Web App With A Class?
Nov 30, 2010
When I publish my new web application onto the localhost, my error handling class did not get published with it. Therefore when I go to run the code, the site crashes out because it cannot find the class in the 'App_Data' directory.
Two of the pages (aspx) refer to the class using the following code.
[Code]....
I take it I am missing some referencing step.
View 5 Replies
Similar Messages:
Mar 10, 2011
Is there any way that I can make it so that to use a "Production" publish profile, it would require that the build configuration was set to Release?
I believe you're supposed to be able to customize the profiles with add-ons or something...?
View 1 Replies
Jul 25, 2010
publishing my website,i published my site before just to test how will it look like.but then when i intended to make some changes and publish them, it doesnt update the file that i've copied.even if i deleted the file from the hosting provider then re publish it, it still doesnt work.
View 2 Replies
Mar 11, 2010
I hv a query regarding publishing the website. I use aspnet2.0 and for uploading we use filezilla.
Whenever I make any changes to my website (either in aspx or aspx.cs page), I need to upload the entire website (along with my bin folder, after publishing)again otherwise my site just doesnt work.Its very time consuming.
View 6 Replies
Nov 9, 2010
I am a bigineer in the asp.net with c#. May any one help me to know "What happen to all .cs files that contain the code on publishing."
View 6 Replies
Dec 20, 2010
I wrote my first app in VB 2010 ASP/SQL. Runs perfectly in VS environment.
I then publish it to 2008 Server using Windows Authentication. The only App Pool it will start in is ASP.NET 4.0 Integrated....Classic will not work.
Starts out OK and then when the program tries to access SQL I get the following:
[Code]....
HTTP Error 500.24 - Internal Server Error An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode.
[Code]....
View 3 Replies
Jun 5, 2010
If I'm using SQL Express 2008, can I use the Pub Wiz? When I try to download it, it takes me to download -Microsoft SQL Server 2005 Management Objects Collection. Do I need this if I use 08 Express? Do I need to download this 05 thing with SQL 08?
View 1 Replies
Nov 29, 2010
I am trying to move my web application from my computer to a server by publishing as a web site. But, after publishing, the user controls defined in the designer files are no longer recognized by the code behind.
View 5 Replies
Jun 18, 2010
Does anyone know how i can automate the process of publishing a webapplication.Normally in Visual studio i go to Build | publish and fill in the data.However i want to do this using c# , so that the process can be completely automated.I tried it using the Microsoft.Build.Engine. But i did not succeed
View 2 Replies
Jun 23, 2010
I am having a page which is working fine on my local machine.I am able to publish the project but when i deploy the page i am getting error.I am not understanding what is the problem.Why i am getting this error.
View 1 Replies
Aug 16, 2010
Login not working after publishing asp.net website
I am used default login control, form based authentication and default sqlmembership provider.but in local my site working fine,when i publish it locally in iis means,the login is not working , i don't know what is the reason?
View 3 Replies
Nov 3, 2010
During build process on ASP.NET MVC 2 application, two files are generated dynamicly (copied, that is) in build folder :
- Microsoft.SqlServer.Replication.dll
- Microsoft.SqlServer.BatchParser.dll
As this files are unwanted, are not required for application to run properly, i put delete command on post build event to remove them :
<code> del "$(TargetDir)Microsoft.SQLServer.Replication.dll" & del "$(TargetDir)Microsoft.SQLServer.BatchParser.dll" </code>
The problem is, as i understood the publish process does: 1. Build, 2.Publish, 3. Post build, so these files are alwasys published on server and causing problems on every publish to our QA server. Is there any way to avoid removing files manually, except for first publishing on the local fs, then use some sort of ftp deployment script that would first delete files, and then push them to server.
View 1 Replies
Dec 21, 2010
When I try to upload my website I have created to [URL] then test it I cannot see any home page or anything. Just a list of pages etc I have uploaded, Its like im looking into a FTP server. I publish using visual studio 2010, I have tried both Copy website over to my FTP server and Publish website under the build button.
View 8 Replies
Nov 16, 2010
How to publish the website/application on localhost and what should be entered in browser while accessing it from localhost
View 1 Replies
Sep 12, 2010
I published my website on my local IIS and after a while felt like making some changes in it.
When i opened my website in visual studio i noticed there were no Page Code files (aspx.cs files) and not even my App_Code folder where i wrote custom code files.
How may i correct it.
View 4 Replies
Feb 18, 2011
what the two following options in the publish dialog are for when publishing a site? I just required to know in what situation these will be use.
1) "Allow this precompiled site to be updatable"
2) "Used fixed naming and single page assemblies"
3) "Emit Debug information"
4) "Enable strong naming on precompiled assemblies"
View 1 Replies
Mar 26, 2011
The file system I'm publishing to is a not hosted by me, but by my university. IT here offers students their own web directory to host a website. My intention is to use it to host projects for classes and demo them for my professors. You can enter in a specific link in any browser to go to this website and view it as long as there is a file named 'index.html' in the directory with some presentable html code.
So here's the problem. I want my website to be written using ASP.NET and when I use VS2010 to publish my ASP.NET website to the 'File System,' I cannot simply open up my browser, type in the normal link, and have it display. It just shows up as a list of files in the directory and I can see all my source code for the web site
View 2 Replies
Dec 7, 2010
I have built a web site using WIndows 7 64bit, C#, VS2010, Access 2010 DB. I am ready to continue testing... ASP.NET testing has gone well with no errors but now I am publishing a web.site to the localhost IIS 7 and I am having trouble publishing it. I am getting a permissions error. Do not know what is gong on when I am the only user, no network, just me myself and I.VS2010 tells me that I need to close VS and re-open as the Administrator to publish to the local machine... ? How do I do that when there is only 1 user (me) on this machine.
View 4 Replies
Nov 18, 2010
i have built a webapplication using VS08 and IIS 5.1
then i published it to IIS but now i have noticed that the images the application has are not visible.
also the Javascript that i have added are not being added.
this was not the case when i was developing the application.
i was sure that i was path problem but i changed it <img alt="Loading" src="images/progress.gif" />
still the image is not being shown.
also if i try to browse the path http://localhost/MyApplication/images/progress.gif then i see this message
You are not authorized to view this page
View 4 Replies
Jun 5, 2010
I am testing with ASP.NET Webforms and get some errors wich I cant understand whats going wrong.When Publishing the Webform via FTP op http://ipadress/ including a normal ftp user and password and click publish I get the following error:
----- Build started: Project: WebApplication1, Configuration: Debug Any CPU ------
WebApplication1 -> C:UsersDaveDesktopWebApplication1WebApplication1inWebApplication1.dll
------ Publish started: Project: WebApplication1, Configuration: Debug Any CPU ------
Connecting to http://ipadress/...
Unable to create the Web site 'http://ipadress'. Moved Permanently
========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========
========== Publish: 0 succeeded, 1 failed, 0 skipped ==========
Note: http://ipadress/ is actually a IP adress (just a normal windows shared hosting server at ISP)
Also when publising my MSSQL2008 database I get some errors (I connect via IP adress and db user and password on SQL authentication).
View 1 Replies
Sep 14, 2010
Is it ok to change the config file after publishing a site? I use shared hosting. It would be nice to do things like change connection strings and smtp settings with out having to republish the site.
View 4 Replies
Jul 2, 2010
I publish by web site with VS2010 having set my output directory to say c:myPackage, but when I go into that VS10 has created about 10 subdirectories all named in a similiar way to my visual studio package diredctories. No matter what I do it always does this, even if I create a zip.
View 4 Replies
Feb 10, 2011
I want to make changes to the webite developed in asp.net3.5 which is published.
View 3 Replies
Dec 13, 2010
After months of work I thought I had finished with my web application using VS2008 with CSSFriendly menu. On publishing, the menu did not work and I got all sorts of errors. Deleting CSSFriendlyAdapters.browser in App_Browsers folder improved the layout but the menu was not rendered with css even though the html source shows thet are linked. On desperation, I changed the target Framework from 3.5 to 2.0 and then back to 3.5 with no avail.
View 5 Replies
Nov 20, 2010
In one of webforms user must enter the percent of tax and then I convert it to the float number and finally save it into database. here is a sample:
Dim txtMyPercent
txtMyPercent=Convert.ToSingle(txtPercent.text)
label.text=txtMyPercent
insert into(txtmypercent)
This peice of code, works perefect while runs via Visual Studio 2010, however after publishing, numbers are converted to integer. Thus it can't be inserted into Sql server database .... Server OS: Windows 2003 x64 IIS: 6 .Net Framework: 4.0
View 2 Replies