Page 2 of 2 FirstFirst 12
Results 41 to 49 of 49

Thread: [RESOLVED] Question about localhost:nnnn vs localhost

  1. #41

    Thread Starter
    PowerPoster MMock's Avatar
    Join Date
    Apr 2007
    Location
    My Mustang GT
    Posts
    4,562

    Re: Question about localhost:nnnn vs localhost

    Quote Originally Posted by szlamany View Post
    you can only use 1609 if that's the port that VS started the ASP.Net dev environment under -
    Yes, I had verified that.
    Quote Originally Posted by szlamany View Post
    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.

  2. #42

    Thread Starter
    PowerPoster MMock's Avatar
    Join Date
    Apr 2007
    Location
    My Mustang GT
    Posts
    4,562

    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.

  3. #43
    MS SQL Powerposter szlamany's Avatar
    Join Date
    Mar 2004
    Location
    Connecticut
    Posts
    18,263

    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??

    *** Read the sticky in the DB forum about how to get your question answered quickly!! ***

    Please remember to rate posts! Rate any post you find helpful - even in old threads! Use the link to the left - "Rate this Post".

    Some Informative Links:
    [ SQL Rules to Live By ] [ Reserved SQL keywords ] [ When to use INDEX HINTS! ] [ Passing Multi-item Parameters to STORED PROCEDURES ]
    [ Solution to non-domain Windows Authentication ] [ Crazy things we do to shrink log files ] [ SQL 2005 Features ] [ Loading Pictures from DB ]

    MS MVP 2006, 2007, 2008

  4. #44

    Thread Starter
    PowerPoster MMock's Avatar
    Join Date
    Apr 2007
    Location
    My Mustang GT
    Posts
    4,562

    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.

  5. #45

    Thread Starter
    PowerPoster MMock's Avatar
    Join Date
    Apr 2007
    Location
    My Mustang GT
    Posts
    4,562

    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.

  6. #46
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: Question about localhost:nnnn vs localhost

    Quote Originally Posted by MMock View Post
    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?

  7. #47
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: Question about localhost:nnnn vs localhost

    Quote Originally Posted by MMock View Post
    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

  8. #48

    Thread Starter
    PowerPoster MMock's Avatar
    Join Date
    Apr 2007
    Location
    My Mustang GT
    Posts
    4,562

    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.

  9. #49
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: [RESOLVED] Question about localhost:nnnn vs localhost

    Quote Originally Posted by MMock View Post
    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

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width