Showing posts with label programs. Show all posts
Showing posts with label programs. Show all posts

Saturday, March 24, 2012

newbie debug asp

i have .net2002/visual studio and have only used it so far for vb.net
been developing some growing .asp programs that do form processing, running
on a different machine, iis5.0,
and would like to be able to run/debug those under my visual studio
environment, so embarrassed
to say don't even know at this point if its possible, so thats the big
question
and then if thats possible, can i simulate the data being passed from the
web page form for testing the asp program??"bbxrider" <bxtrap01@.comcast.net> wrote in message
news:%238wtxmVaFHA.3400@.tk2msftngp13.phx.gbl...
>i have .net2002/visual studio and have only used it so far for vb.net
> been developing some growing .asp programs that do form processing,
> running
> on a different machine, iis5.0,
> and would like to be able to run/debug those under my visual studio
> environment, so embarrassed
> to say don't even know at this point if its possible, so thats the big
> question
> and then if thats possible, can i simulate the data being passed from the
> web page form for testing the asp program??

Hi,

If you are talking about debugging Classic ASP, it's a freakin nightmare.

If I were you, I wouldn't waste my time. Just fill your code full of
Response.Write()s ... that is actually a hell of a lot more effecient.

THANK GOD for .NET!!!

--
Regards,
John MacIntyre
http://www.johnmacintyre.ca
Specializing in; Database, Web-Applications, and Windows Software
thanks for the reply
i have been using the response.write technique, but ran into some kind of
problem, i think because i executed
wscipt.createobject instead of server.createobject and then could not run
any asp! had to reboot, so was trying
to get around that
is it possible then to rewrite the old asp into asp.net and run that on my
win2k/iis5.0 server??
bbx

"John" <Please.Reply@.To.the.group.com> wrote in message
news:uUovjTWaFHA.3808@.TK2MSFTNGP14.phx.gbl...
> "bbxrider" <bxtrap01@.comcast.net> wrote in message
> news:%238wtxmVaFHA.3400@.tk2msftngp13.phx.gbl...
> >i have .net2002/visual studio and have only used it so far for vb.net
> > been developing some growing .asp programs that do form processing,
> > running
> > on a different machine, iis5.0,
> > and would like to be able to run/debug those under my visual studio
> > environment, so embarrassed
> > to say don't even know at this point if its possible, so thats the big
> > question
> > and then if thats possible, can i simulate the data being passed from
the
> > web page form for testing the asp program??
> Hi,
> If you are talking about debugging Classic ASP, it's a freakin nightmare.
> If I were you, I wouldn't waste my time. Just fill your code full of
> Response.Write()s ... that is actually a hell of a lot more effecient.
> THANK GOD for .NET!!!
>
> --
> Regards,
> John MacIntyre
> http://www.johnmacintyre.ca
> Specializing in; Database, Web-Applications, and Windows Software
"bbxrider" <bxtrap01@.comcast.net> wrote in message
news:u2j9zlWaFHA.464@.TK2MSFTNGP15.phx.gbl...
> is it possible then to rewrite the old asp into asp.net and run that on my
> win2k/iis5.0 server??
> bbx

I have asp.net running on a Win2k/IIS5 machine without problems.
thanks again, sounds like my next project

"John" <Please.Reply@.To.the.group.com> wrote in message
news:%23165n2WaFHA.1456@.TK2MSFTNGP15.phx.gbl...
> "bbxrider" <bxtrap01@.comcast.net> wrote in message
> news:u2j9zlWaFHA.464@.TK2MSFTNGP15.phx.gbl...
> > is it possible then to rewrite the old asp into asp.net and run that on
my
> > win2k/iis5.0 server??
> > bbx
>
> I have asp.net running on a Win2k/IIS5 machine without problems.
>
>
>

newbie debug asp

i have .net2002/visual studio and have only used it so far for vb.net
been developing some growing .asp programs that do form processing, running
on a different machine, iis5.0,
and would like to be able to run/debug those under my visual studio
environment, so embarrassed
to say don't even know at this point if its possible, so thats the big
question
and then if thats possible, can i simulate the data being passed from the
web page form for testing the asp program'"bbxrider" <bxtrap01@.comcast.net> wrote in message
news:%238wtxmVaFHA.3400@.tk2msftngp13.phx.gbl...
>i have .net2002/visual studio and have only used it so far for vb.net
> been developing some growing .asp programs that do form processing,
> running
> on a different machine, iis5.0,
> and would like to be able to run/debug those under my visual studio
> environment, so embarrassed
> to say don't even know at this point if its possible, so thats the big
> question
> and then if thats possible, can i simulate the data being passed from the
> web page form for testing the asp program'
>
Hi,
If you are talking about debugging Classic ASP, it's a freakin nightmare.
If I were you, I wouldn't waste my time. Just fill your code full of
Response.Write()s ... that is actually a hell of a lot more effecient.
THANK GOD for .NET!!!
Regards,
John MacIntyre
http://www.johnmacintyre.ca
Specializing in; Database, Web-Applications, and Windows Software
thanks for the reply
i have been using the response.write technique, but ran into some kind of
problem, i think because i executed
wscipt.createobject instead of server.createobject and then could not run
any asp! had to reboot, so was trying
to get around that
is it possible then to rewrite the old asp into asp.net and run that on my
win2k/iis5.0 server'
bbx
"John" <Please.Reply@.To.the.group.com> wrote in message
news:uUovjTWaFHA.3808@.TK2MSFTNGP14.phx.gbl...
> "bbxrider" <bxtrap01@.comcast.net> wrote in message
> news:%238wtxmVaFHA.3400@.tk2msftngp13.phx.gbl...
the
> Hi,
> If you are talking about debugging Classic ASP, it's a freakin nightmare.
> If I were you, I wouldn't waste my time. Just fill your code full of
> Response.Write()s ... that is actually a hell of a lot more effecient.
> THANK GOD for .NET!!!
>
> --
> Regards,
> John MacIntyre
> http://www.johnmacintyre.ca
> Specializing in; Database, Web-Applications, and Windows Software
>
"bbxrider" <bxtrap01@.comcast.net> wrote in message
news:u2j9zlWaFHA.464@.TK2MSFTNGP15.phx.gbl...
> is it possible then to rewrite the old asp into asp.net and run that on my
> win2k/iis5.0 server'
> bbx
I have asp.net running on a Win2k/IIS5 machine without problems.
thanks again, sounds like my next project
"John" <Please.Reply@.To.the.group.com> wrote in message
news:%23165n2WaFHA.1456@.TK2MSFTNGP15.phx.gbl...
> "bbxrider" <bxtrap01@.comcast.net> wrote in message
> news:u2j9zlWaFHA.464@.TK2MSFTNGP15.phx.gbl...
my
>
> I have asp.net running on a Win2k/IIS5 machine without problems.
>
>
>
>

Thursday, March 22, 2012

newbie issue - asp.net file displays as source

Hi,

I just setup the .NET framework for asp.net. I have programmed regular
csharp and ado.net programs before. I use the Borland CSharpBuilder IDE

I am having a problem that must have a simple solution.- any aspx file I
create within the IDE and then Run, opens as source in Internet Explorer.
The same file, say one of the quickstart examples run from the quickstart
page opens as expected in rendered html.

What am I doing wrong?

TIA
aacoolThere's a readme file that comes with the Resource Kit. Here's a snippet on installing ASP.NET

2) Install ASP.NET - > From a command prompt window, run the following command from your windows directory: \Microsoft.NET\Framework\version\aspnet_regiis -i
Where version is the version number of the .NET Framework is installed on your machine (v1.1.4322, for example).

Note with Windows Server 2003, you can install ASP.NET using the Add or Remove Programs Control Panel.

Hope this helps...
"=?Utf-8?B?UmljaGllQQ==?=" <anonymous@.discussions.microsoft.com> wrote
in news:79616F35-16F1-4E07-AA4C-41BE37FD10E7@.microsoft.com:

> There's a readme file that comes with the Resource Kit. Here's a
> snippet on installing ASP.NET:
> 2) Install ASP.NET - > From a command prompt window, run the following
> command from your windows directory:
> \Microsoft.NET\Framework\version\aspnet_regiis -i Where version is the
> version number of the .NET Framework is installed on your machine
> (v1.1.4322, for example).
> Note with Windows Server 2003, you can install ASP.NET using the Add
> or Remove Programs Control Panel.
> Hope this helps...

Thanks for your response - it sounded right - I followed it, and the
additional step mentioned in msdn of registering the aspnet_isapi dll -
regsvr32 %windir%\Microsoft.NET\Framework\v1.1.4322\aspnet_ isapi.dll

This has not helped - I still see only the source code and am unable to see
the rendered html correctly.

Please advise
aacool
you need to type this at the command prompt

\Microsoft.NET\Framework\version\aspnet_regiis -i
^^^^^^^^
and then hit Enter. I've installed it on a couple of machines this way. Give it a try if you haven't as yet

Good luck..

2) Install ASP.NET - > From a command prompt window, run the followin
> command from your windows directory
> \Microsoft.NET\Framework\version\aspnet_regiis -i Where version is th
> version number of the .NET Framework is installed on your machin
> (v1.1.4322, for example).
"=?Utf-8?B?UmljaGllQQ==?=" <anonymous@.discussions.microsoft.com> wrote
in news:968CBAD1-E3FC-45F6-AFD6-B47FE4A97AD9@.microsoft.com:

> you need to type this at the command prompt :
> \Microsoft.NET\Framework\version\aspnet_regiis -i
> ^^^^^^^^^
> and then hit Enter. I've installed it on a couple of machines this
> way. Give it a try if you haven't as yet.
> Good luck...
> 2) Install ASP.NET - > From a command prompt window, run the
> following
>> command from your windows directory:
>> \Microsoft.NET\Framework\version\aspnet_regiis -i Where version is
>> the version number of the .NET Framework is installed on your machine
>> (v1.1.4322, for example).

TY - I did exactly that, but the problem remains

aacool

Friday, March 16, 2012

newbie needs advice

What tools do I need to start writing ASP programs? I currently have VS.Net 2003.What tools do I need to start writing ASP programs? I currently have VS.Net 2003.

If you have VS.Net 2003 then thats all you need to do ASP.Net(you said asp, i assume you meant asp.net).

Simply Click on New Project and Choose "New ASP.Net Web Application" and you are set :).

I suggest do some tutorial, www.4guysfromrolla.com is a good resources for both asp and asp.net.

Hope it helps.