I'm having a problem with opening ASP.NET configuration in Visual Studio 2008 Express. It just won't open. Nothing happens when I click ASP.NET configuration (under Website).
Odd things:
(1) It works fine (opens) in Visual Studio 2005 Express.
(2) I tried re-installing Visual Studio 2008 Express and the ASP.NET configuration opened fine for a couples of day, but now its not working again.
How can I test an application that I am publishing to a remote provider's IIS7 hosted site, with the VS2008 development server that is built in with VS2008 on an XP Machine?
My membership/roles work perfectly up on the remote host. On ths hosted IIS7 site when I try to access a secure directory it redirects to login, and I am able to login, however when I launch (debug - F5) from VS2008, it will provide that folder/resource, no questions asked. Same build, config, etc... nothing has changed.
I am running XP, and local IIS version installed is 5.1.
My guess is what is happening is that the new format required in the web.config is configured properly for IIS7 deployment, which is why it works remotely, but when running locally through VS2008/XP it is running with an older version on IIS and does not recoginize the new tags.
We have had a web application built in vs2008. We have recently set up vs2010, and when we build the solution we are getting this error.
The CodeDom provider type "Microsoft.VJSharp.VJSharpCodeProvider, VJSharpCodeProvider, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" could not be located.
Is there a difference between the Web Setup Project in VS2008 and the Web Deployment Project that I keep reading about on this site? More importantly, how much of a help is the deployment project over just using the setup project?
I am using Vs2008 in that i created one new project of Windows form using C# language. but the thing is i want to connect the database connection to that one, but there is no webconfig file. how to connect the database connection.
Using VS 2008 on Windows 7 trying to publish to Windows 2003 Server.
Receive the following error:
Unable to add '_MainFoot.ascx' to the Web site. Server error: A page with the name _MainFoot.ascx already exists. It was last modified by SERVERuser on 22 Apr 2010 11:20:29 -0700.
The user control in the error is not a new control and has been previously published. It has been edited and I am trying to publish again with the update.
Options for Publish to IIS are:
1. Replace matching files with local copies 2. Only files needed to run this application 3. Include files from the App_Data folder
This problem occurs only with user controls, changes to webforms publish correctly.
I'm relatively new to actually publishing sites on my own..Anyway, right now I am using VS2008 to build / compile my web application and then publish it to the server. Simple enough, until I want to change several of the code behinds, and don't want to spend 30 minutes re-publishing several thousand documents.
I have been reading that publishing via VS is not the best approach, so I guess I have two questions:
1. Using VS2008, is there a way to build the project and publish only certain parts of the project such as the pre-compiled code or better yet have VS only update the code that has been changed on the server? I suppose I could simply publish it to my local drive and pick apart the files from there / is there a better way?
2. In your opinion what is the best deployment strategy?
I have a site in which I have defined my Start up page, say Sample.aspx. After deployment in server named "Siteserver, Now whenever I open link [URL]. Now, my question is, if I have more than one page like Sample1.aspx and Sample2.aspx and I want to open [URL] directly, how can I do this. It is redirecting again to Sample.aspx. How can I achieve this.
In the past I deployed my apps using IIS running on IE6 and VS2008. When deploying using IIS a port number was attached to the localhost something like: [URL] then after deployment the website could be accessed from any other machine using the url. Recently VS2008, IIS and IE8 was installed. But now when I use IIS to deploy the app no port number is attached to the localhost which means that the app cannot be accessed by another machine.
This is because of the default setting being installed. There is a way to go into properties and change the default settings to make IIS deploy the app with the port number. How you change the default setting to make IIS deploy the app with the port number attached again so the app can be accessed by another machine using the apps url?
I have a database on Go Daddy and my VS2008 app can not access it via web.config connection string. Of course runs great locally in development. I copy/pasted the connection string information from Go Daddy exactly into my web.config file. Web site runs fine on the web but when I try to Login at my login page, i get :The SSE Provider did not find the database file specified in the connection string. At the configured trust level (below High trust level), the SSE provider can not automatically create the database file.
I used VS2008 to create the .sql script files and uploaded them to Go Daddy and the Go Daddy people say everything works as they and I can both Login to the database from within GoDaddy.The database i am trying to access consists of the a ASPNETDB.mdf and another Database.mdf together as one in the Go Daddy database.
here is what i used: <connectionStrings><add name="superskin" connectionString="Data
i created a unit test project with the built-in unit testing from vs 2008. i noticed that when running a unit test and in particular when the class i am testing attempts to set a value from the app.config file using the configurationsettings, the configuration settings object always has 0 keys...and thus my value i am trying to use is always null...is there anything about the unit testing structure that would return null values from the app config when i know the keys are there...the existing program uses those keys for email addresses and such already.
My web.comfig file in the webserver is encrypted . I want to do a change to the config file. While I'm trying to decrypt from the command prompt on the server using following command. "aspnet_regiis -pd "appSettings" -app "/AppName" I endup with the following error message. Failed to decrypt using provider 'CustomProvider'. Error message from the provider: The RSA key container could not be opened. The RSA key container could not be opened. Failed! The same command has been working in other environments except in my servers. Also I'm using web forms and I tried the same in both the servers. I have gone through all websites but no use.
WARNING - Absolute beginner here with VS. I'm expecting a steep learning curve, but I'm up to it! I'm trying to create a website with membership/login. Followed the above walkthrough MANY time, and been very careful with the username and password entered, but I keep getting the message that the loging failed. The asp application name is "Membership" This is the whole thing, automatically created following the walkthrough, apart from adding 2 members - yes, did go to the memberpages folder at the set rules page.
Solution Explorer: Solution 'membership' (1 project) - //localhost/membership/ - App_Data - ASPNETDB.MDF aspnetdb_lpg.LDF - MemberPages web.config - Default.aspx Default.aspx.vb - Login.aspx Login.aspx.vb webconfig aspnet_Membership: (2 members) PasswordFormat = 1 The ApplicationId for the 2 members is different - should it be?..........
So, I have a webForm that has an ImageButton. This ImageButton has to open a file (said file is uploaded by the user in another web form. The file is saved to \serverNamefiles; it can be a doc file, pdf file, excel file).
So this ImageButton should open said file as you normally would. It works on debug, however when I publish my site, and run it from my localhost, it doesn't open the file. When I click the ImageButton it just does the postback and nothing happens.
The code for the ImageButton is just:
Process.Start(fileName);
fileName has the full path of the file I want to open, in this case it has: \serverNamefilesmyFile.pdf
We have just migrated our application from VS 2008 to VS 2010 and our database from Sql server 2005 to 2008. Everything was working great until i tried to login to the site.
As when i try to log into the site, i am surprisingly always getting "FALSE" from Membership.Validateuser (). I goggled it and now i know i am not the alone victim of this irritating bug. Our live site is going to be down...
I am maintaining an ASP website and the users want to be able to click on a link that open up a folder where they could select which file they want from within that folder.
I tried to making a link with the tag <a href=[folderpath]>Text</a> but I can a 403 HTTP error saying that the website requires a login for this action. Is there some way that I could send the person's credentials along with the request so the folder can be opened?
I have a WebApplication1 running in a port (let's say 4000) and I'm trying to build a website (WebSite1), running on IIS, that is running on the same server. I have no control over the WebApplication1, it's a packaged software, WebSite1 is built by me.
The WebSite1 will do a custom user validation and then will let the user access the WebApplication1:4000 under the impersonated user under which the website is running, not the user in the client machine. Sort of like changing the user in the session.
My site is 100% private (only public facing page is login) I've had the need to open up a page to anon via the <location> node in the web config...and that all seems to work However the issue now appears to be that dynamic resources such as the Telerik.Web.UI.WebResource.axd and imagesjavascript changed via handlers dont load. A firebug of the situation shows that for those dynamic elements, it's trying to re-direct to login to get them Is there anyway around this?
I have a Google Document in the following path.[URL] Once i click on the link i am directed to a page where google asks for the username/password of the above document.I had created a test username/password in gmail.which i can send to you all usgbctester@gmail.com and the password being usgbcpassword. I hav a button click event wherein i need to open the above link bypassing google asking for username and password.I should be able to hardcode the username and password in the button click event.
im using a IIS 6, WinXP OS, Visual Studio2005, Visual Studio 2005 Server..I have build an asp.net web application in another computer.. i wanted to access that program that i made to another computer but it gives an error when i try to run the program..this is the error it says:"Failed to start monitoring changes to "S:sgcwebapplicationaspx" because the network BIOS command limit has been reached. PLease refer Microsoft lnowledge base article 8180886 Hosting on UNC share is not supprted for the windows XP platform...."Is it because i develop the program using WinXP OS?how can i be able to share the program that i made to another computer????
This is driving me NUTS!I posted ages ago that I can't get into the ASP.NET configuration (in VS2008, I click Windows > ASP.NET Configuration and nothing happens).The only way I found to fix this is to completely re-install Visual Studio.It then works a couple of times (I can get in to ASP.NET configuration) and then stops and I can't get in again.I gave up and have only been working on non-login websites since. But now I really need to add some users to my site. But I can't keep re-installing Visual Studio.
a C# file in my App_Code folder calls a C++ DLL that is in my BIN folder. I am getting following error:
Security Exception
Description:
The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission contact your system administrator or change the application's trust level in the configuration file.
I hosted my application on GoDaddy shared server. They are not allowing me to give full trust to the application by changing setting in my application's web.config file.