Configuration :: .cs File On Publishing Website?
Nov 9, 2010I 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 RepliesI 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 RepliesThe 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
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.
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 RepliesLogin 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?
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 RepliesHow to publish the website/application on localhost and what should be entered in browser while accessing it from localhost
View 1 RepliesIn 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
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 RepliesIs 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...?
if i have a separate dll for each page on my server and that is working fine. if I make some changes in code behind file of a particular page say, xyz.aspx page. then I have to upload the dll of that particular page. and that refreshes the whole web application and all sessions and other values got disturbed in the application. Is there any way that uploading the xyz.dll (of page xyz.apsx) on refreshes the xyz.aspx and didn't disturb the whole web application.
View 1 Repliespublishing 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 RepliesWhen 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.
This is what my website looks like:
When I build the website and upload everything as it is, I get this error:
Quote:
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) I guess I have to deploy Database, or?
I have created a website with asp.net and uses oracle connectivity with pl/sql developer.i have uses the crystal report which is a third party tool. how to purchase it.
i am using visual studio 2005 and yes i am using basic crystal crystal that comes with visual studio.
Now suppose i hav purchase a domain www.abc.com.
I've published my website and tried to host in my localsystem.Im getting the login page but cannot login to my application.When i click the submit button in the login page,the page simply refreshes and comesback.The page is not showing any error like 'invalid username or password' which i've set for not proper login
I am using visualstudio 2008 and iis 5.1.What could be cause of this error ??
How can i pulish my website online tell me the procedure ,steps?
View 1 RepliesIn my website I have configured the following in the web.config
[Code]....
Following is a line in my HttpHandler
[Code]....
Issue is that I cannot see anything written in the file. File gets created but nothing is written in it.
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]....
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 RepliesDoes 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 RepliesI 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 RepliesI have an ASP.NET web site project, which I'm publishing to IIS on my Win2k8 R2 server. It has a default page called login.aspx. I set that up on the published web site.
Trouble is, every time I publish a new version of the web site, the login.aspx entry gets erased from the "Default Document" settings of the web site in IIS. This is very annoying. How can I publish my web site from Visual Studio without wiping out the default page every time?
I have a ASP.NET Web application which has 2 projects(one for UI and one for Business layer)Now when i publish this for deployment,its giving me so many DLLS in bin folder which starts with prefix "App_Web...."in the name.How can i make it into only one DLL or 2 DLLS (one for UI and one for BL) ? I work with Visual studio 2010
View 1 RepliesIs there anyway I can put my custom name while publishing asp.net 2.0 website?
View 1 Replies