Ask a Question related to ASP.NET Security, Design and Development.
-
Mek #1
Unable to open Web project after requiring SSL
After installing SSL, everything appears to be working, except one thing --
no Web project in a virtual directory that requires SSL will open in Visual
Studio. It raises the error:
"Unable to open Web Project 'Admin'. Unable to validate that the file path
'[path]\Admin' matches the URL path 'https://Localhost:/Admin'. A connection
with the server could not be established" (where [path] is a placeholder for
the project location, and yes, it is correct)
Now, originally I was getting the above error because it was trying to
connect to 'http://[IP Address]/Admin'. To fix the problem, I went into the
..webinfo file and changed 'http' to 'https'. That got it to access the
project using SSL, which was great, but for no apparent reason it immediately
stopped using [IP address] and instead used Localhost:.
Now, the reason it can't find these files is no mystery. The Admin project
is not on Localhost. The IP address it is located at does not correspond to
Localhost. If Visual Studio could find the project at Localhost, that would
mean something was seriously wrong. The problem is that nowhere at no time
have I ever set it to look for the project at [url]https://Localhost:[/url] and it never
has. So why did it suddenly decide that's where the project is even though
every configuration file tells it to look in [url]https://[IP[/url] address]? Anybody
got any ideas?
Mek Guest
-
Unable to Validate Configuration of a PHP Project
Would it work if I develop on my Mac using a local version of MAMP and then copied the files up to my shared hosting solution??? I am in the same... -
unable to create Web project
John Baima wrote: This problem really sucks and the docs are really bad. Here are the three things I found which solved the problem for me : ... -
ANN: open source web project SCCBridge
Hello, I'm glad to announce that first fully functional version of "RepositoryExplorer" is released. This is open source .NET GUI application... -
Unable to get the project file from Web server
Hi, I have an ASP.NET application that somebody gave it to me but when I attempt to run it I get the following error in a dialog with a title... -
Help:Could not open web .application project
I an facinga strange problem. When I try to open any of my web application project I get a Web Access Denied MEssage saying that. the wwwroot is... -
Nicole Calinoiu #2
Re: Unable to open Web project after requiring SSL
Have you also modified the URL for the project file in the solution file
(.sln) via which your project is loaded? Another potential issue is your
use of an IP address rather than the same server name. In order for VStudio
to be able to load the project files over SSL without any errors, the URL
should use the same server name as the SSL certificate installed on the
server. Basically, if you can't browse to the URL in Internet Explorer
without receiving any SSL certificate warnings, you probably won't be able
to load the project in VStudio.
"Mek" <Mek@discussions.microsoft.com> wrote in message
news:221C7561-D3ED-45E0-92C2-566FE85E3C96@microsoft.com...> After installing SSL, everything appears to be working, except one
> thing --
> no Web project in a virtual directory that requires SSL will open in
> Visual
> Studio. It raises the error:
>
> "Unable to open Web Project 'Admin'. Unable to validate that the file path
> '[path]\Admin' matches the URL path 'https://Localhost:/Admin'. A
> connection
> with the server could not be established" (where [path] is a placeholder
> for
> the project location, and yes, it is correct)
>
> Now, originally I was getting the above error because it was trying to
> connect to 'http://[IP Address]/Admin'. To fix the problem, I went into
> the
> .webinfo file and changed 'http' to 'https'. That got it to access the
> project using SSL, which was great, but for no apparent reason it
> immediately
> stopped using [IP address] and instead used Localhost:.
>
> Now, the reason it can't find these files is no mystery. The Admin
> project
> is not on Localhost. The IP address it is located at does not correspond
> to
> Localhost. If Visual Studio could find the project at Localhost, that
> would
> mean something was seriously wrong. The problem is that nowhere at no
> time
> have I ever set it to look for the project at [url]https://Localhost:[/url] and it
> never
> has. So why did it suddenly decide that's where the project is even
> though
> every configuration file tells it to look in [url]https://[IP[/url] address]?
> Anybody
> got any ideas?
Nicole Calinoiu Guest



Reply With Quote

