PC Review


Reply
Thread Tools Rate Thread

ASP.NET 2.0 aspx Page

 
 
deepak
Guest
Posts: n/a
 
      17th Mar 2008
Hi All,

I am working on asp.net 2. 0 Application using MS Visual Studio 2005.
When I am trying to debug the code on the server (my server name is
esealvm087), it's redirecting to http://localhost:2908/attachmenthandler
instead of http://esealvm087/attachmenthandler.

I don’t quite understand how this is a problem, since localhost is the same
as 087, but anyway....

Kindly let me know asap if i am wrong somewhere...

Thanks,
Deepak
+919886735837
 
Reply With Quote
 
 
 
 
Michael Nemtsev [MVP]
Guest
Posts: n/a
 
      17th Mar 2008
Hello deepak,

it's because you are using File System site (development server) - not IIS

But why this bother your?!
In Project options you can change the type of server and switch to IIS

---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo


d> Hi All,
d>
d> I am working on asp.net 2. 0 Application using MS Visual Studio 2005.
d> When I am trying to debug the code on the server (my server name is
d> esealvm087), it's redirecting to
d> http://localhost:2908/attachmenthandler instead of
d> http://esealvm087/attachmenthandler.
d>
d> I don’t quite understand how this is a problem, since localhost is
d> the same as 087, but anyway....
d>
d> Kindly let me know asap if i am wrong somewhere...
d>
d> Thanks,
d> Deepak
d> +919886735837


 
Reply With Quote
 
Eliyahu Goldin
Guest
Posts: n/a
 
      17th Mar 2008
http://localhost:2908/attachmenthandler is the development server that comes
out of box with VS. The other option is to run on your local IIS. You can
choose between the two in the project properties.

BTW, running on the development server is rarely a problem. In some cases
you have to use IIS, but not always at all.

--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net


"deepak" <(E-Mail Removed)> wrote in message
news:A14BF36A-5058-40A7-A737-(E-Mail Removed)...
> Hi All,
>
> I am working on asp.net 2. 0 Application using MS Visual Studio 2005.
> When I am trying to debug the code on the server (my server name is
> esealvm087), it's redirecting to http://localhost:2908/attachmenthandler
> instead of http://esealvm087/attachmenthandler.
>
> I don't quite understand how this is a problem, since localhost is the
> same
> as 087, but anyway....
>
> Kindly let me know asap if i am wrong somewhere...
>
> Thanks,
> Deepak
> +919886735837



 
Reply With Quote
 
deepak
Guest
Posts: n/a
 
      17th Mar 2008
Hi Micheal,

Mya you terll me how to change it from Development server to IIS as you
mentioned in your comment as i am new to VS 2005. Kinldy let me knwo step by
step.

Thanks,
Deepak

"Eliyahu Goldin" wrote:

> http://localhost:2908/attachmenthandler is the development server that comes
> out of box with VS. The other option is to run on your local IIS. You can
> choose between the two in the project properties.
>
> BTW, running on the development server is rarely a problem. In some cases
> you have to use IIS, but not always at all.
>
> --
> Eliyahu Goldin,
> Software Developer
> Microsoft MVP [ASP.NET]
> http://msmvps.com/blogs/egoldin
> http://usableasp.net
>
>
> "deepak" <(E-Mail Removed)> wrote in message
> news:A14BF36A-5058-40A7-A737-(E-Mail Removed)...
> > Hi All,
> >
> > I am working on asp.net 2. 0 Application using MS Visual Studio 2005.
> > When I am trying to debug the code on the server (my server name is
> > esealvm087), it's redirecting to http://localhost:2908/attachmenthandler
> > instead of http://esealvm087/attachmenthandler.
> >
> > I don't quite understand how this is a problem, since localhost is the
> > same
> > as 087, but anyway....
> >
> > Kindly let me know asap if i am wrong somewhere...
> >
> > Thanks,
> > Deepak
> > +919886735837

>
>
>

 
Reply With Quote
 
deepak
Guest
Posts: n/a
 
      17th Mar 2008
Hi Michael/Eliyahu,

I right clicked on the project in solctuon explorer and set prot attribute
from 2908 to 8080 and then again tried to debug it but now after pressign F5,
it is showing "Unable to launch Visual Studio's Localhost Web Server, port
'8080' is use".
Is there any way to know where this port is used and how to get it free if
it is really used.Basically, i want to run the application using

http://esealvm087/attachmenthandler
or
http://localhost/attachmenthandler

instead of

http://localhost:2908/attachmenthandler

Kinldy help me ....i m really stuck here currently

Thanks a lot in advance,
Deepak
+919886735837
"deepak" wrote:

> Hi Micheal,
>
> Mya you terll me how to change it from Development server to IIS as you
> mentioned in your comment as i am new to VS 2005. Kinldy let me knwo step by
> step.
>
> Thanks,
> Deepak
>
> "Eliyahu Goldin" wrote:
>
> > http://localhost:2908/attachmenthandler is the development server that comes
> > out of box with VS. The other option is to run on your local IIS. You can
> > choose between the two in the project properties.
> >
> > BTW, running on the development server is rarely a problem. In some cases
> > you have to use IIS, but not always at all.
> >
> > --
> > Eliyahu Goldin,
> > Software Developer
> > Microsoft MVP [ASP.NET]
> > http://msmvps.com/blogs/egoldin
> > http://usableasp.net
> >
> >
> > "deepak" <(E-Mail Removed)> wrote in message
> > news:A14BF36A-5058-40A7-A737-(E-Mail Removed)...
> > > Hi All,
> > >
> > > I am working on asp.net 2. 0 Application using MS Visual Studio 2005.
> > > When I am trying to debug the code on the server (my server name is
> > > esealvm087), it's redirecting to http://localhost:2908/attachmenthandler
> > > instead of http://esealvm087/attachmenthandler.
> > >
> > > I don't quite understand how this is a problem, since localhost is the
> > > same
> > > as 087, but anyway....
> > >
> > > Kindly let me know asap if i am wrong somewhere...
> > >
> > > Thanks,
> > > Deepak
> > > +919886735837

> >
> >
> >

 
Reply With Quote
 
Eliyahu Goldin
Guest
Posts: n/a
 
      17th Mar 2008
Check Use IIS Web Serve. Do you have IIS running?

--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net


"deepak" <(E-Mail Removed)> wrote in message
news:71FA7100-301B-4B97-9ACA-(E-Mail Removed)...
> Hi Michael/Eliyahu,
>
> I right clicked on the project in solctuon explorer and set prot attribute
> from 2908 to 8080 and then again tried to debug it but now after pressign
> F5,
> it is showing "Unable to launch Visual Studio's Localhost Web Server, port
> '8080' is use".
> Is there any way to know where this port is used and how to get it free if
> it is really used.Basically, i want to run the application using
>
> http://esealvm087/attachmenthandler
> or
> http://localhost/attachmenthandler
>
> instead of
>
> http://localhost:2908/attachmenthandler
>
> Kinldy help me ....i m really stuck here currently
>
> Thanks a lot in advance,
> Deepak
> +919886735837
> "deepak" wrote:
>
>> Hi Micheal,
>>
>> Mya you terll me how to change it from Development server to IIS as you
>> mentioned in your comment as i am new to VS 2005. Kinldy let me knwo step
>> by
>> step.
>>
>> Thanks,
>> Deepak
>>
>> "Eliyahu Goldin" wrote:
>>
>> > http://localhost:2908/attachmenthandler is the development server that
>> > comes
>> > out of box with VS. The other option is to run on your local IIS. You
>> > can
>> > choose between the two in the project properties.
>> >
>> > BTW, running on the development server is rarely a problem. In some
>> > cases
>> > you have to use IIS, but not always at all.
>> >
>> > --
>> > Eliyahu Goldin,
>> > Software Developer
>> > Microsoft MVP [ASP.NET]
>> > http://msmvps.com/blogs/egoldin
>> > http://usableasp.net
>> >
>> >
>> > "deepak" <(E-Mail Removed)> wrote in message
>> > news:A14BF36A-5058-40A7-A737-(E-Mail Removed)...
>> > > Hi All,
>> > >
>> > > I am working on asp.net 2. 0 Application using MS Visual Studio 2005.
>> > > When I am trying to debug the code on the server (my server name is
>> > > esealvm087), it's redirecting to
>> > > http://localhost:2908/attachmenthandler
>> > > instead of http://esealvm087/attachmenthandler.
>> > >
>> > > I don't quite understand how this is a problem, since localhost is
>> > > the
>> > > same
>> > > as 087, but anyway....
>> > >
>> > > Kindly let me know asap if i am wrong somewhere...
>> > >
>> > > Thanks,
>> > > Deepak
>> > > +919886735837
>> >
>> >
>> >



 
Reply With Quote
 
deepak
Guest
Posts: n/a
 
      17th Mar 2008
where is this check.... Yes, IIS is running....but where is that
check...?Also i right click on project prperties and set default pott=8080
and now i got that can not debug the application as this port is busy ...
Kinldy let me know step by stpe if possible....

Thanks,
Deepak

"Eliyahu Goldin" wrote:

> Check Use IIS Web Serve. Do you have IIS running?
>
> --
> Eliyahu Goldin,
> Software Developer
> Microsoft MVP [ASP.NET]
> http://msmvps.com/blogs/egoldin
> http://usableasp.net
>
>
> "deepak" <(E-Mail Removed)> wrote in message
> news:71FA7100-301B-4B97-9ACA-(E-Mail Removed)...
> > Hi Michael/Eliyahu,
> >
> > I right clicked on the project in solctuon explorer and set prot attribute
> > from 2908 to 8080 and then again tried to debug it but now after pressign
> > F5,
> > it is showing "Unable to launch Visual Studio's Localhost Web Server, port
> > '8080' is use".
> > Is there any way to know where this port is used and how to get it free if
> > it is really used.Basically, i want to run the application using
> >
> > http://esealvm087/attachmenthandler
> > or
> > http://localhost/attachmenthandler
> >
> > instead of
> >
> > http://localhost:2908/attachmenthandler
> >
> > Kinldy help me ....i m really stuck here currently
> >
> > Thanks a lot in advance,
> > Deepak
> > +919886735837
> > "deepak" wrote:
> >
> >> Hi Micheal,
> >>
> >> Mya you terll me how to change it from Development server to IIS as you
> >> mentioned in your comment as i am new to VS 2005. Kinldy let me knwo step
> >> by
> >> step.
> >>
> >> Thanks,
> >> Deepak
> >>
> >> "Eliyahu Goldin" wrote:
> >>
> >> > http://localhost:2908/attachmenthandler is the development server that
> >> > comes
> >> > out of box with VS. The other option is to run on your local IIS. You
> >> > can
> >> > choose between the two in the project properties.
> >> >
> >> > BTW, running on the development server is rarely a problem. In some
> >> > cases
> >> > you have to use IIS, but not always at all.
> >> >
> >> > --
> >> > Eliyahu Goldin,
> >> > Software Developer
> >> > Microsoft MVP [ASP.NET]
> >> > http://msmvps.com/blogs/egoldin
> >> > http://usableasp.net
> >> >
> >> >
> >> > "deepak" <(E-Mail Removed)> wrote in message
> >> > news:A14BF36A-5058-40A7-A737-(E-Mail Removed)...
> >> > > Hi All,
> >> > >
> >> > > I am working on asp.net 2. 0 Application using MS Visual Studio 2005.
> >> > > When I am trying to debug the code on the server (my server name is
> >> > > esealvm087), it's redirecting to
> >> > > http://localhost:2908/attachmenthandler
> >> > > instead of http://esealvm087/attachmenthandler.
> >> > >
> >> > > I don't quite understand how this is a problem, since localhost is
> >> > > the
> >> > > same
> >> > > as 087, but anyway....
> >> > >
> >> > > Kindly let me know asap if i am wrong somewhere...
> >> > >
> >> > > Thanks,
> >> > > Deepak
> >> > > +919886735837
> >> >
> >> >
> >> >

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to fire off a completely seperate .aspx page from within an .aspx web page. S_K Microsoft ASP .NET 1 2nd Oct 2007 01:05 AM
How to fire off a completely seperate .aspx page from within an .aspx web page. S_K Microsoft ASP .NET 0 1st Oct 2007 11:40 PM
How to fire off a completely seperate .aspx page from within an .aspx web page. S_K Microsoft ASP .NET 0 1st Oct 2007 11:40 PM
Syntax for call from aspx page to .cs file then to different aspx page MadHatter51 Microsoft ASP .NET 1 17th May 2006 11:43 AM
How to Pass values between from a popup page aspx & a normal page aspx Marco Antonio Montalvo Durán Microsoft ASP .NET 2 23rd Jan 2004 09:35 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:21 AM.