Showing posts with label realized. Show all posts
Showing posts with label realized. Show all posts

Thursday, March 29, 2012

Please Forgive Me, But What Is ASP?

I'm sorry, but I'm a little new here. I just installed WinXP, used the automatic updates feature, and just recently realized that I've been having to select my user name at the login screen, instead of just going through to the desktop. I checked User Accounts, and realized that there is another account in there, called Asp... something. Sorry , but what is that? Thanks for your help :)hello,
After the installation of the .NET Framework you will find the ASPNET account on the local computer. If you start a ASP.NET web application this account will be used by the ASP.NET worker process (aspnet_wp.exe). For security reason the user has only some privileges, of course, no network access.

So, this account is used only when you are developing asp.net application.

ASP.NET is the new version of ASP which is the active server pages, ASP was a scripting language, but now with asp.etn 1.0 a web application is more like a desktop application !! Which means that you create your classes, and your html pages andlink them together.

should you have any other question ?
For what the ASPNET account is concerned. It's safe to have it on your machine although you're not using ASP.NET but if you want you can of course disable it if you're not running any ASP.NET driven apps in IIS. Please remark that the ASPNET account only exists on Windows 2000 and XP with the .NET Framework installed, and not anymore on the Windows Server 2003 software where the process model of ASP.NET and IIS in its entirety has been modified.
If you install the TweakXP tool, you can set up your system for an automatic login, just as you had before the installation of the .NET framework. This has no influence on the well behaving of ASP.NET applications (as removing the account migth be)
Thanks to all, this was very helpful and fast! I figured it wasn't a big deal, but since I didn't recognize the "User Account" in there I wasn't sure. I saved a system restore point and deleted the ASP account. I don't see that I'll be using it. Thanks again :)
After my last updates to XP, my comp was no longer booting straight to my desktop but instead was only going as far as the log-in screen, despite that I was the only 'user' listed. It wasn't until I tried to see what changes I could make to revert back to the way it was that I discovered the 'intruder' -- "ASP.NET Machine A..." -- and my first reaction was to think that an unauthorized user had been screwing around with my computer. But then I started to put 2 and 2 together and decided to see what was on any website named "asp.net", thinking that maybe this was some new form of spyware crap. That led me here, and I'm glad to see that this is nothing to become alarmed about; I guess it was stupid of me to just update everything about XP without reading what the updates are, but I always figured that even if I'm not using something now, it can't hurt to get the update in case I need it later. Thanks for the explanation. Still, it is a bit unsettling that MS doesn't offer any sort of info such as through a popup screen after that update is installed.

NOW ... where can I find this "TweakXP" tool that you just mentioned, because I want to go back to booting straight to my desktop, but I don't really want to remove the ASP.NET until I have a chance to read about it and decide if it's something I want to learn and use (I'm a rank amateur, but I do create my own websites ;-)

Thanks for any info or help.

Bill Velek
http://www.microsoft.com/windowsxp/pro/downloads/powertoys.asp

There is a whole host of cool stuff for WinXP there.

-Josh

Wednesday, March 21, 2012

Please help me create a simple page

Today i was creating my first page in asp.net and the very soon i realized that
microsoft products were not trustworthy i created a simple web form
with two text boxes and two labels/one label but when i created the solution
(build solution) see what is the IE displaying me in second screen shot

designed a simple login form

http://img171.imageshack.us/img171/6276/form1ts2.jpg

this is what it gave me as an output no web tools being displayed only one label i cant see the text box or any submit button i have seen the html code thats generated and its fine

http://img105.imageshack.us/img105/65/iepageid3.jpg

I am using Visual studio 2002 version and IIS v 5.1 no antivirus is running and
default website has been granted permission

can anyone please please help me out :) thankstry recompiling your project and then refreshing IE after you do so.

If there is still no change, then I suggest you uninstall zone alarm.

I had an issue with VS 2003 where zone alarm broke asp.net
Disabling it did't fix my issue, but when I fully uninstalled it, asp.net was working again.
thanks 4 the help buddy
no success now i need to reinstall zone alarm any more ideas do you think
i need to reinstall visual studio all over again because all other .aspx files i downloaded from net are running fine on IIS so IIS is problem free

ok its 1:09 night and i need a nap when i wake up I hope some good
person will surely help me out thanks

ASP.net took away this night :cry:
Well, the problem could be anything!!

Check in the HTML part that the <form> tag is present. Or check the visibility properties of the non-rendered controls.

Or just upload the project!!
you may also want to look into upgrading to using the 2.0 framework.

You can get a Visual Studio Web Developer Express for free here
http://msdn.microsoft.com/vstudio/express/vwd/

and this is very very similar to ASP.NET in VS 2002, except they improved a LOT of the things that were problems in the previous versions..

Visual Studio .NET 2002 was almost more of a beta for .NET than a full on programming language, most people moved quickly to 1.1 (2003) when that came out, and then to 2.0 (2005)

The fact that Microsoft gives you the express tools for free, makes it easier to upgrade to the newer version, because you don't have to shell out money for a good IDE.
thanks guys i think i need to reinstall the asp.net now but the problem with 2005 express version is that there is no

sqlconnection and oledbconnection object tool in the data tab of the toolbox
so i was not using it :wave:
http://msdn2.microsoft.com/en-us/library/k6h9cz8h(VS.80).aspx

Run the aspnet_regiis tool. Your files don't seem to have 'registered' properly.

aspnet_regiis /i

Please Help me- Returning DataSet from a Web Service

Hi All
My Web Service is returning a DataSet. I realized that we cannot
return a DataReader.. Normally we can use a DataReader( when not
using Web services) and access it as below to assign values of columns
of returned rows to Labels in the client aplication such as:
while (dtrJobDetails.Read())
{
l_shortjobdesc.Text = dtrJobDetails["shortjobdesc"].ToString();
}
where dtrJobDetails is a DataReader.
But now I am forced to return back a DataSet.. Is there anyway of
showing the individual column values returned from a DataSet in
individual labels like we do in a DataReader as above... I dont want
to show it in a DataGrid or a DataList...
Please help me.. I have been trying to figure this out since two
days..
Any help will be highly appreciated...
Thanks,
SumairaHi, you could try something like
DataSet oDS = ' Retrieved from your webservice'
Response.Write(oDS.Tables[0].DefaultView[0].Row["Blah"].ToString());
hth
Mark
"Sumaira Ahmad" <sumaira.ahmad@.gmail.com> wrote in message
news:1627c5ae.0411011325.75864c65@.posting.google.com...
> Hi All
> My Web Service is returning a DataSet. I realized that we cannot
> return a DataReader.. Normally we can use a DataReader( when not
> using Web services) and access it as below to assign values of columns
> of returned rows to Labels in the client aplication such as:
> while (dtrJobDetails.Read())
> {
> l_shortjobdesc.Text = dtrJobDetails["shortjobdesc"].ToString();
> }
> where dtrJobDetails is a DataReader.
> But now I am forced to return back a DataSet.. Is there anyway of
> showing the individual column values returned from a DataSet in
> individual labels like we do in a DataReader as above... I dont want
> to show it in a DataGrid or a DataList...
> Please help me.. I have been trying to figure this out since two
> days..
> Any help will be highly appreciated...
> Thanks,
> Sumaira
foreach (DataRow dr in ds.Tables[0])
{
l_shortjobdesc.Text = dr["shortjobdesc"].ToString();
}
note: you should avoid databinding with DataReaders as it may cause
blocking/scaling/resource problems, because databinding is slow, and occurs
after the query. passing datasets is a much better solution. it adds very
little overhead, but frees the query pipe quickly, releasing the locks.
-- bruce (sqlwork.com)
"Sumaira Ahmad" <sumaira.ahmad@.gmail.com> wrote in message
news:1627c5ae.0411011325.75864c65@.posting.google.com...
> Hi All
> My Web Service is returning a DataSet. I realized that we cannot
> return a DataReader.. Normally we can use a DataReader( when not
> using Web services) and access it as below to assign values of columns
> of returned rows to Labels in the client aplication such as:
> while (dtrJobDetails.Read())
> {
> l_shortjobdesc.Text = dtrJobDetails["shortjobdesc"].ToString();
> }
> where dtrJobDetails is a DataReader.
> But now I am forced to return back a DataSet.. Is there anyway of
> showing the individual column values returned from a DataSet in
> individual labels like we do in a DataReader as above... I dont want
> to show it in a DataGrid or a DataList...
> Please help me.. I have been trying to figure this out since two
> days..
> Any help will be highly appreciated...
> Thanks,
> Sumaira

Please Help me- Returning DataSet from a Web Service

Hi All

My Web Service is returning a DataSet. I realized that we cannot
return a DataReader.. Normally we can use a DataReader( when not
using Web services) and access it as below to assign values of columns
of returned rows to Labels in the client aplication such as:

while (dtrJobDetails.Read())
{
l_shortjobdesc.Text = dtrJobDetails["shortjobdesc"].ToString();
}
where dtrJobDetails is a DataReader.

But now I am forced to return back a DataSet.. Is there anyway of
showing the individual column values returned from a DataSet in
individual labels like we do in a DataReader as above... I dont want
to show it in a DataGrid or a DataList...

Please help me.. I have been trying to figure this out since two
days..

Any help will be highly appreciated...
Thanks,
SumairaHi, you could try something like

DataSet oDS = ' Retrieved from your webservice'
Response.Write(oDS.Tables[0].DefaultView[0].Row["Blah"].ToString());

hth
Mark

"Sumaira Ahmad" <sumaira.ahmad@.gmail.com> wrote in message
news:1627c5ae.0411011325.75864c65@.posting.google.c om...
> Hi All
> My Web Service is returning a DataSet. I realized that we cannot
> return a DataReader.. Normally we can use a DataReader( when not
> using Web services) and access it as below to assign values of columns
> of returned rows to Labels in the client aplication such as:
> while (dtrJobDetails.Read())
> {
> l_shortjobdesc.Text = dtrJobDetails["shortjobdesc"].ToString();
> }
> where dtrJobDetails is a DataReader.
> But now I am forced to return back a DataSet.. Is there anyway of
> showing the individual column values returned from a DataSet in
> individual labels like we do in a DataReader as above... I dont want
> to show it in a DataGrid or a DataList...
> Please help me.. I have been trying to figure this out since two
> days..
> Any help will be highly appreciated...
> Thanks,
> Sumaira
foreach (DataRow dr in ds.Tables[0])
{
l_shortjobdesc.Text = dr["shortjobdesc"].ToString();
}

note: you should avoid databinding with DataReaders as it may cause
blocking/scaling/resource problems, because databinding is slow, and occurs
after the query. passing datasets is a much better solution. it adds very
little overhead, but frees the query pipe quickly, releasing the locks.

-- bruce (sqlwork.com)

"Sumaira Ahmad" <sumaira.ahmad@.gmail.com> wrote in message
news:1627c5ae.0411011325.75864c65@.posting.google.c om...
> Hi All
> My Web Service is returning a DataSet. I realized that we cannot
> return a DataReader.. Normally we can use a DataReader( when not
> using Web services) and access it as below to assign values of columns
> of returned rows to Labels in the client aplication such as:
> while (dtrJobDetails.Read())
> {
> l_shortjobdesc.Text = dtrJobDetails["shortjobdesc"].ToString();
> }
> where dtrJobDetails is a DataReader.
> But now I am forced to return back a DataSet.. Is there anyway of
> showing the individual column values returned from a DataSet in
> individual labels like we do in a DataReader as above... I dont want
> to show it in a DataGrid or a DataList...
> Please help me.. I have been trying to figure this out since two
> days..
> Any help will be highly appreciated...
> Thanks,
> Sumaira