Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net (http://www.velocityreviews.com/forums/f29-asp-net.html)
-   -   IIS response is slow (http://www.velocityreviews.com/forums/t621911-iis-response-is-slow.html)

llevi 06-24-2008 12:33 AM

IIS response is slow
 
Hi there.

I have a simple web page ( 1 textbox, 1 label, 1 button). The page runs
under IIS, but it takes at least a minute before it allows me to enter
keystrokes after pressing ctl+f5.
environment: vista home premium, visual studio .net 2005.

Any ideas as to why this is so slow? how may i resolve this issue?

Thanks in advance,

llevi

Jeff Winn 06-24-2008 01:20 AM

Re: IIS response is slow
 
Try loading the page directly from your browser by connecting to the website
when it's running. If it's fast there it's an issue with VS either building
the site, or attaching the debugger.

If you're working with a "Web Site" type of project and not a "Web
Application" you can go to the project properties for the build
configuration and tell the IDE to not build the website when you run it. The
assemblies used for the pages will build themselves when they're needed, so
you don't need to worry about it. If you're using a Web Application you'll
just have to wait while the project is being built.

"llevi" <llevi@discussions.microsoft.com> wrote in message
news:F778EBE2-06C1-483D-B8AD-7DE6C688E0D6@microsoft.com...
> Hi there.
>
> I have a simple web page ( 1 textbox, 1 label, 1 button). The page runs
> under IIS, but it takes at least a minute before it allows me to enter
> keystrokes after pressing ctl+f5.
> environment: vista home premium, visual studio .net 2005.
>
> Any ideas as to why this is so slow? how may i resolve this issue?
>
> Thanks in advance,
>
> llevi



llevi 06-24-2008 01:55 AM

Re: IIS response is slow
 
Thanks for your reply.

I did try running the page directly from the browser (outside of the IDE)
and that response is normal, fast. However, any attempt to run from within
the IDE (with or without the changes that you suggested) result in a response
of at least 1 or more mins.

"Jeff Winn" wrote:

> Try loading the page directly from your browser by connecting to the website
> when it's running. If it's fast there it's an issue with VS either building
> the site, or attaching the debugger.
>
> If you're working with a "Web Site" type of project and not a "Web
> Application" you can go to the project properties for the build
> configuration and tell the IDE to not build the website when you run it. The
> assemblies used for the pages will build themselves when they're needed, so
> you don't need to worry about it. If you're using a Web Application you'll
> just have to wait while the project is being built.
>
> "llevi" <llevi@discussions.microsoft.com> wrote in message
> news:F778EBE2-06C1-483D-B8AD-7DE6C688E0D6@microsoft.com...
> > Hi there.
> >
> > I have a simple web page ( 1 textbox, 1 label, 1 button). The page runs
> > under IIS, but it takes at least a minute before it allows me to enter
> > keystrokes after pressing ctl+f5.
> > environment: vista home premium, visual studio .net 2005.
> >
> > Any ideas as to why this is so slow? how may i resolve this issue?
> >
> > Thanks in advance,
> >
> > llevi

>


Jeff Winn 06-24-2008 02:30 AM

Re: IIS response is slow
 
Check the output window when you're trying to run the site. Keep an eye on
the IDEs progress as it builds your project. As long as it's not hanging
while building the startup time seems normal to me. If the IDE has finished
building and IE sits open for an extensive amount of time it might be
something with the debugger trying to attach itself to IIS.

In all honesty everything seems perfectly normal to me. It could be your
computer is just slow. :o)

"llevi" <llevi@discussions.microsoft.com> wrote in message
news:262FD699-817E-466F-A332-252EE1C0962F@microsoft.com...
> Thanks for your reply.
>
> I did try running the page directly from the browser (outside of the IDE)
> and that response is normal, fast. However, any attempt to run from within
> the IDE (with or without the changes that you suggested) result in a
> response
> of at least 1 or more mins.
>
> "Jeff Winn" wrote:
>
>> Try loading the page directly from your browser by connecting to the
>> website
>> when it's running. If it's fast there it's an issue with VS either
>> building
>> the site, or attaching the debugger.
>>
>> If you're working with a "Web Site" type of project and not a "Web
>> Application" you can go to the project properties for the build
>> configuration and tell the IDE to not build the website when you run it.
>> The
>> assemblies used for the pages will build themselves when they're needed,
>> so
>> you don't need to worry about it. If you're using a Web Application
>> you'll
>> just have to wait while the project is being built.
>>
>> "llevi" <llevi@discussions.microsoft.com> wrote in message
>> news:F778EBE2-06C1-483D-B8AD-7DE6C688E0D6@microsoft.com...
>> > Hi there.
>> >
>> > I have a simple web page ( 1 textbox, 1 label, 1 button). The page runs
>> > under IIS, but it takes at least a minute before it allows me to enter
>> > keystrokes after pressing ctl+f5.
>> > environment: vista home premium, visual studio .net 2005.
>> >
>> > Any ideas as to why this is so slow? how may i resolve this issue?
>> >
>> > Thanks in advance,
>> >
>> > llevi

>>



Eliyahu Goldin 06-24-2008 08:41 AM

Re: IIS response is slow
 
Delete your solution .suo file and see if it helps.

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


"llevi" <llevi@discussions.microsoft.com> wrote in message
news:262FD699-817E-466F-A332-252EE1C0962F@microsoft.com...
> Thanks for your reply.
>
> I did try running the page directly from the browser (outside of the IDE)
> and that response is normal, fast. However, any attempt to run from within
> the IDE (with or without the changes that you suggested) result in a
> response
> of at least 1 or more mins.
>
> "Jeff Winn" wrote:
>
>> Try loading the page directly from your browser by connecting to the
>> website
>> when it's running. If it's fast there it's an issue with VS either
>> building
>> the site, or attaching the debugger.
>>
>> If you're working with a "Web Site" type of project and not a "Web
>> Application" you can go to the project properties for the build
>> configuration and tell the IDE to not build the website when you run it.
>> The
>> assemblies used for the pages will build themselves when they're needed,
>> so
>> you don't need to worry about it. If you're using a Web Application
>> you'll
>> just have to wait while the project is being built.
>>
>> "llevi" <llevi@discussions.microsoft.com> wrote in message
>> news:F778EBE2-06C1-483D-B8AD-7DE6C688E0D6@microsoft.com...
>> > Hi there.
>> >
>> > I have a simple web page ( 1 textbox, 1 label, 1 button). The page runs
>> > under IIS, but it takes at least a minute before it allows me to enter
>> > keystrokes after pressing ctl+f5.
>> > environment: vista home premium, visual studio .net 2005.
>> >
>> > Any ideas as to why this is so slow? how may i resolve this issue?
>> >
>> > Thanks in advance,
>> >
>> > llevi

>>




BWC 06-24-2008 10:20 AM

Re: IIS response is slow
 
I've seen a similar situation happen when Javascript debugging is enabled.

If you run through Visual Studio without Debugging (Ctrl+F5) and the problem
goes away, this could be the case.

In Internet Explorer, Tools, Internet Options, Advanced, Browsing select
both the "Disable script debugging" options (internet explorer) and (other)

"llevi" wrote:

> Thanks for your reply.
>
> I did try running the page directly from the browser (outside of the IDE)
> and that response is normal, fast. However, any attempt to run from within
> the IDE (with or without the changes that you suggested) result in a response
> of at least 1 or more mins.
>
> "Jeff Winn" wrote:
>
> > Try loading the page directly from your browser by connecting to the website
> > when it's running. If it's fast there it's an issue with VS either building
> > the site, or attaching the debugger.
> >
> > If you're working with a "Web Site" type of project and not a "Web
> > Application" you can go to the project properties for the build
> > configuration and tell the IDE to not build the website when you run it. The
> > assemblies used for the pages will build themselves when they're needed, so
> > you don't need to worry about it. If you're using a Web Application you'll
> > just have to wait while the project is being built.
> >
> > "llevi" <llevi@discussions.microsoft.com> wrote in message
> > news:F778EBE2-06C1-483D-B8AD-7DE6C688E0D6@microsoft.com...
> > > Hi there.
> > >
> > > I have a simple web page ( 1 textbox, 1 label, 1 button). The page runs
> > > under IIS, but it takes at least a minute before it allows me to enter
> > > keystrokes after pressing ctl+f5.
> > > environment: vista home premium, visual studio .net 2005.
> > >
> > > Any ideas as to why this is so slow? how may i resolve this issue?
> > >
> > > Thanks in advance,
> > >
> > > llevi

> >


llevi 06-24-2008 05:10 PM

Re: IIS response is slow
 
I tried this - same result

"Eliyahu Goldin" wrote:

> Delete your solution .suo file and see if it helps.
>
> --
> Eliyahu Goldin,
> Software Developer
> Microsoft MVP [ASP.NET]
> http://msmvps.com/blogs/egoldin
> http://usableasp.net
>
>
> "llevi" <llevi@discussions.microsoft.com> wrote in message
> news:262FD699-817E-466F-A332-252EE1C0962F@microsoft.com...
> > Thanks for your reply.
> >
> > I did try running the page directly from the browser (outside of the IDE)
> > and that response is normal, fast. However, any attempt to run from within
> > the IDE (with or without the changes that you suggested) result in a
> > response
> > of at least 1 or more mins.
> >
> > "Jeff Winn" wrote:
> >
> >> Try loading the page directly from your browser by connecting to the
> >> website
> >> when it's running. If it's fast there it's an issue with VS either
> >> building
> >> the site, or attaching the debugger.
> >>
> >> If you're working with a "Web Site" type of project and not a "Web
> >> Application" you can go to the project properties for the build
> >> configuration and tell the IDE to not build the website when you run it.
> >> The
> >> assemblies used for the pages will build themselves when they're needed,
> >> so
> >> you don't need to worry about it. If you're using a Web Application
> >> you'll
> >> just have to wait while the project is being built.
> >>
> >> "llevi" <llevi@discussions.microsoft.com> wrote in message
> >> news:F778EBE2-06C1-483D-B8AD-7DE6C688E0D6@microsoft.com...
> >> > Hi there.
> >> >
> >> > I have a simple web page ( 1 textbox, 1 label, 1 button). The page runs
> >> > under IIS, but it takes at least a minute before it allows me to enter
> >> > keystrokes after pressing ctl+f5.
> >> > environment: vista home premium, visual studio .net 2005.
> >> >
> >> > Any ideas as to why this is so slow? how may i resolve this issue?
> >> >
> >> > Thanks in advance,
> >> >
> >> > llevi
> >>

>
>
>


llevi 06-24-2008 05:12 PM

Re: IIS response is slow
 
javascript debugging has been disabled and I had been using ctl+f5 to render
the page. Very strange, but this is painfully slow.

"BWC" wrote:

> I've seen a similar situation happen when Javascript debugging is enabled.
>
> If you run through Visual Studio without Debugging (Ctrl+F5) and the problem
> goes away, this could be the case.
>
> In Internet Explorer, Tools, Internet Options, Advanced, Browsing select
> both the "Disable script debugging" options (internet explorer) and (other)
>
> "llevi" wrote:
>
> > Thanks for your reply.
> >
> > I did try running the page directly from the browser (outside of the IDE)
> > and that response is normal, fast. However, any attempt to run from within
> > the IDE (with or without the changes that you suggested) result in a response
> > of at least 1 or more mins.
> >
> > "Jeff Winn" wrote:
> >
> > > Try loading the page directly from your browser by connecting to the website
> > > when it's running. If it's fast there it's an issue with VS either building
> > > the site, or attaching the debugger.
> > >
> > > If you're working with a "Web Site" type of project and not a "Web
> > > Application" you can go to the project properties for the build
> > > configuration and tell the IDE to not build the website when you run it. The
> > > assemblies used for the pages will build themselves when they're needed, so
> > > you don't need to worry about it. If you're using a Web Application you'll
> > > just have to wait while the project is being built.
> > >
> > > "llevi" <llevi@discussions.microsoft.com> wrote in message
> > > news:F778EBE2-06C1-483D-B8AD-7DE6C688E0D6@microsoft.com...
> > > > Hi there.
> > > >
> > > > I have a simple web page ( 1 textbox, 1 label, 1 button). The page runs
> > > > under IIS, but it takes at least a minute before it allows me to enter
> > > > keystrokes after pressing ctl+f5.
> > > > environment: vista home premium, visual studio .net 2005.
> > > >
> > > > Any ideas as to why this is so slow? how may i resolve this issue?
> > > >
> > > > Thanks in advance,
> > > >
> > > > llevi
> > >



All times are GMT. The time now is 05:21 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57