|
-
May 9th, 2013, 10:01 AM
#41
Thread Starter
PowerPoster
Re: Question about localhost:nnnn vs localhost
 Originally Posted by szlamany
you can only use 1609 if that's the port that VS started the ASP.Net dev environment under -
Yes, I had verified that.
 Originally Posted by szlamany
create an IMAGES folder up or down from the folder it's looking for and see if you can at least get the image to be found.
Yeah, that's what I was just thinking of trying.
There are 10 kinds of people in this world. Those who understand binary, and those who don't.
-
May 9th, 2013, 01:12 PM
#42
Thread Starter
PowerPoster
Re: Question about localhost:nnnn vs localhost
Creating an IMAGES folder was an epic failure, onto the net thing... (Woops, meant "next thing" - Freudian slip???)
What troubled me was I got this project from my coworker and when she loaded it, it used IIS but when I loaded it, it used Cassini. Odd. She sent me her sln file and I did a side-by-side text comparison and edited mine to match hers, most notably I changed this:
From: Project("{*** long numeric string ***}") = "XXX Web Enrollment", "D:\New Website Projects\XXX Web Enrollment", "{*** long numeric string ***}"
To: Project("{*** long numeric string ***}") = "XXX Web Enrollment", "http://localhost/XXX Web Enrollment", "{*** long numeric string ***}"
Now when I run, it opens up a browser window and does not start the ASP.NET development server and the URL is localhost without the port, BUT...something is wrong because I get an error that it is missing service.wsdl in App_WebReferences\ApplicationSecurity.
Last edited by MMock; May 9th, 2013 at 01:22 PM.
There are 10 kinds of people in this world. Those who understand binary, and those who don't.
-
May 9th, 2013, 01:53 PM
#43
Re: Question about localhost:nnnn vs localhost
I believe you proved you have a SOLUTION difference - but I think your brute-force method of editing the SLN file is not a good idea.
You need to "select a browser service" from within the IDE so it can properly align that change...
Or someone really messed up a project creation.
Is this a WEB PROJECT vs WEB FOLDER kind of problem??
-
May 9th, 2013, 01:59 PM
#44
Thread Starter
PowerPoster
Re: Question about localhost:nnnn vs localhost
Going back to square one (that being getting the project and source files from a zip file on the network). Will let you know how it goes.
There are 10 kinds of people in this world. Those who understand binary, and those who don't.
-
May 9th, 2013, 02:25 PM
#45
Thread Starter
PowerPoster
Re: Question about localhost:nnnn vs localhost
Well, this is such a disappointing resolution. It's working now, simply from me grabbing the project fresh from a zip file. But that was where I got it in the first place weeks ago, so why it's suddenly working beats me.
Here is the history. This project belonged to programmer A who worked in another department and was transitioning his project to our department. He put a zip file on a fileshare as a way of giving us the project (why we don't go to Source Control or TFS, I don't know). Programmer B worked with it to get it working (she "couldn't get it to run" but changed some web.config settings and created a VD in IIS, etc) and zipped it to another location for Programmer Me and Programmer C to get (never heard much from C). When I got it and ran it, it ran, but with the unresolved image and styling issue and running from ASP.NET Development Server instead of IIS. So today she tells me to get it from the zip file again, and all is miraculously working wonderfully. I am guessing she made some changes after she created the zip file that weren't propogated back in order for me to get them. Then she created the zip file again today. I can't really say what those changes were - perhaps, Steve, some of it was the changes I had made in an editor to the sln file which you said would be better off made in the IDE itself.
Thanks for all the help. Even though I didn't end up being the one to solve this and can't really say what did solve it, I think I learned a lot.
There are 10 kinds of people in this world. Those who understand binary, and those who don't.
-
May 10th, 2013, 12:50 AM
#46
Re: Question about localhost:nnnn vs localhost
 Originally Posted by MMock
Going back to square one (that being getting the project and source files from a zip file on the network). Will let you know how it goes.
Really?!? Is there no source control repository being used? SVN? Git? TFS? Even VSS?
-
May 10th, 2013, 12:52 AM
#47
Re: Question about localhost:nnnn vs localhost
 Originally Posted by MMock
Well, this is such a disappointing resolution. It's working now, simply from me grabbing the project fresh from a zip file. But that was where I got it in the first place weeks ago, so why it's suddenly working beats me.
Here is the history. This project belonged to programmer A who worked in another department and was transitioning his project to our department. He put a zip file on a fileshare as a way of giving us the project (why we don't go to Source Control or TFS, I don't know). Programmer B worked with it to get it working (she "couldn't get it to run" but changed some web.config settings and created a VD in IIS, etc) and zipped it to another location for Programmer Me and Programmer C to get (never heard much from C). When I got it and ran it, it ran, but with the unresolved image and styling issue and running from ASP.NET Development Server instead of IIS. So today she tells me to get it from the zip file again, and all is miraculously working wonderfully. I am guessing she made some changes after she created the zip file that weren't propogated back in order for me to get them. Then she created the zip file again today. I can't really say what those changes were - perhaps, Steve, some of it was the changes I had made in an editor to the sln file which you said would be better off made in the IDE itself.
Thanks for all the help. Even though I didn't end up being the one to solve this and can't really say what did solve it, I think I learned a lot.
If this isn't a great story on why to use Source Control, I don't know what would be 
Glad to hear that you got it all sorted out though!
Gary
-
May 10th, 2013, 06:33 AM
#48
Thread Starter
PowerPoster
Re: [RESOLVED] Question about localhost:nnnn vs localhost
Oh, we use source control; what I said was we didn't go to it in this case. Meaning, the developer who was the owner of the project zipped it up as a means of delivering it to us. I had also said "why...I don't know", but this is not the first project that has been like that. It seems to be the preferred MO.
There are 10 kinds of people in this world. Those who understand binary, and those who don't.
-
May 10th, 2013, 07:54 AM
#49
Re: [RESOLVED] Question about localhost:nnnn vs localhost
 Originally Posted by MMock
Oh, we use source control; what I said was we didn't go to it in this case. Meaning, the developer who was the owner of the project zipped it up as a means of delivering it to us. I had also said "why...I don't know", but this is not the first project that has been like that. It seems to be the preferred MO.
Yeah, I read all that after I had read and responded to post #44, before reading post #45. I should have gone back and edited it
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|