Showing posts with label aspx. Show all posts
Showing posts with label aspx. Show all posts

Thursday, March 29, 2012

Please click the back button on your browser and

Hi All,

In my one project, at many aspx pages I am getting below error.
Could anyone please give me solution of this.
================
Please click the back button on your browser and try again.Session state is
not available in this context.
================
I really tried to solve this a lot but could not get the solution.

Thanking you in advance,
RahulSeems sessions are disabled for your application and being used everywhere
inside applications...

Sudhakar Sadasivuni
http://weblogs.asp.net/ssadasivuni
MyUG : http://www.mugh.net

"Rahul Borade" wrote:

> Hi All,
> In my one project, at many aspx pages I am getting below error.
> Could anyone please give me solution of this.
> ================
> Please click the back button on your browser and try again.Session state is
> not available in this context.
> ================
> I really tried to solve this a lot but could not get the solution.
> Thanking you in advance,
> Rahul
>
Hi,

Thanks for your immediate reply!

But, if I check session on other aspx pages, the session
state is perfectly available.

What could be any other possiblity for this ... can you
please tell me ...

>--Original Message--
>Seems sessions are disabled for your application and
being used everywhere
>inside applications...
>
>Sudhakar Sadasivuni
>http://weblogs.asp.net/ssadasivuni
>MyUG : http://www.mugh.net
>
>"Rahul Borade" wrote:
>> Hi All,
>>
>> In my one project, at many aspx pages I am getting
below error.
>> Could anyone please give me solution of this.
>> ================
>> Please click the back button on your browser and try
again.Session state is
>> not available in this context.
>> ================
>> I really tried to solve this a lot but could not get
the solution.
>>
>> Thanking you in advance,
>> Rahul
>>
>>
>>
>.

Please click the back button on your browser and

Hi All,
In my one project, at many aspx pages I am getting below error.
Could anyone please give me solution of this.
================
Please click the back button on your browser and try again.Session state is
not available in this context.
================
I really tried to solve this a lot but could not get the solution.
Thanking you in advance,
RahulSeems sessions are disabled for your application and being used everywhere
inside applications...
Sudhakar Sadasivuni
[url]http://weblogs.asp.net/sasivuni[/url]
MyUG : http://www.mugh.net
"Rahul Borade" wrote:

> Hi All,
> In my one project, at many aspx pages I am getting below error.
> Could anyone please give me solution of this.
> ================
> Please click the back button on your browser and try again.Session state i
s
> not available in this context.
> ================
> I really tried to solve this a lot but could not get the solution.
> Thanking you in advance,
> Rahul
>
>
Hi,
Thanks for your immediate reply!
But, if I check session on other aspx pages, the session
state is perfectly available.
What could be any other possiblity for this ... can you
please tell me ...

>--Original Message--
>Seems sessions are disabled for your application and
being used everywhere
>inside applications...
>
>Sudhakar Sadasivuni
>[url]http://weblogs.asp.net/sasivuni[/url]
>MyUG : http://www.mugh.net
>
>"Rahul Borade" wrote:
>
below error.
again.Session state is
the solution.
>.
>

Monday, March 26, 2012

please help

Hi,

Can anyone suggest me some good tools to format my aspx page , my aspx page
in an application is very much poorly formatted,
I can't even figure out some of the ending tags exactly and aspx
code-behind really look bad.( I know the vs.net edit and formatting will do
up to a limit )

Also i am not sure is there any specific format that we should follow in
the aspx code behind like 65 chars per line(something like this).Can any one
point me to a link reg this?

Is there any add ins or some tools , that we can use in vs.net editor , so
that some of the conditions will be applied automatically while we create
the aspx page.

Excuse my english.

Thanks in advance
HariAs far as specific formats, there isn't really any. I don't like line breaks
and I use 3 spaces for indentation..but it's really up to each team to
create it's own standards. If you can't stand horizontal scrolling, then
maybe you should wrap (although, with proper use of CSS, only the most
complex sites, or the smallest monitors, cause a horizontal scroll I find).

Visual Studio 2003 is notorious for messing up your HTML. This is quite
unfortunate and I don't think there's much you can do about it. The 2005
editor is much easier to work with.

Sorry, but I don't think you'll find any automated answer short of working
hard at it.

Karl
--
http://www.openmymind.net/

"Hari" <sivakumar_ani@.yahoo.com> wrote in message
news:ek6gJEePGHA.2696@.TK2MSFTNGP14.phx.gbl...
> Hi,
> Can anyone suggest me some good tools to format my aspx page , my aspx
> page
> in an application is very much poorly formatted,
> I can't even figure out some of the ending tags exactly and aspx
> code-behind really look bad.( I know the vs.net edit and formatting will
> do
> up to a limit )
>
> Also i am not sure is there any specific format that we should follow in
> the aspx code behind like 65 chars per line(something like this).Can any
> one
> point me to a link reg this?
> Is there any add ins or some tools , that we can use in vs.net editor , so
> that some of the conditions will be applied automatically while we create
> the aspx page.
> Excuse my english.
> Thanks in advance
> Hari

please help

Hi,
Can anyone suggest me some good tools to format my aspx page , my aspx page
in an application is very much poorly formatted,
I can't even figure out some of the ending tags exactly and aspx
code-behind really look bad.( I know the vs.net edit and formatting will do
up to a limit )
Also i am not sure is there any specific format that we should follow in
the aspx code behind like 65 chars per line(something like this).Can any one
point me to a link reg this?
Is there any add ins or some tools , that we can use in vs.net editor , so
that some of the conditions will be applied automatically while we create
the aspx page.
Excuse my english.
Thanks in advance
HariAs far as specific formats, there isn't really any. I don't like line breaks
and I use 3 spaces for indentation..but it's really up to each team to
create it's own standards. If you can't stand horizontal scrolling, then
maybe you should wrap (although, with proper use of CSS, only the most
complex sites, or the smallest monitors, cause a horizontal scroll I find).
Visual Studio 2003 is notorious for messing up your HTML. This is quite
unfortunate and I don't think there's much you can do about it. The 2005
editor is much easier to work with.
Sorry, but I don't think you'll find any automated answer short of working
hard at it.
Karl
--
http://www.openmymind.net/
"Hari" <sivakumar_ani@.yahoo.com> wrote in message
news:ek6gJEePGHA.2696@.TK2MSFTNGP14.phx.gbl...
> Hi,
> Can anyone suggest me some good tools to format my aspx page , my aspx
> page
> in an application is very much poorly formatted,
> I can't even figure out some of the ending tags exactly and aspx
> code-behind really look bad.( I know the vs.net edit and formatting will
> do
> up to a limit )
>
> Also i am not sure is there any specific format that we should follow in
> the aspx code behind like 65 chars per line(something like this).Can any
> one
> point me to a link reg this?
> Is there any add ins or some tools , that we can use in vs.net editor , so
> that some of the conditions will be applied automatically while we create
> the aspx page.
> Excuse my english.
> Thanks in advance
> Hari
>
>

Please Help

Hi,
I have created one webform1.aspx page on local server (c:\inetpub\wwwroot\mysite\prabodh). it executes without any error. when I upload prabodh folder on the main server in (E:\mysite\prabodh) and i have set the properties for this folder.
Now I am getting the following error when i am trying to access the file from my remote machine.
the error is :
Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".

<!-- Web.Config Configuration File --
<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration
Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL.

<!-- Web.Config Configuration File --
<configuration>
<system.web>
<customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration
when i am trying to access same file from the main server then .
the error is :

Server Error in '/prabodh' Application.
------------------------

Server cannot access application directory 'E:\web\mysite\prabodh\'. The directory does not exist or is not accessible because of security settings.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: Server cannot access application directory 'E:\web\mysite\prabodh\'. The directory does not exist or is not accessible because of security settings.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[HttpException (0x80004005): Server cannot access application directory 'E:\web\mysite\prabodh\'. The directory does not exist or is not accessible because of security settings.]
System.Web.HttpRuntime.EnsureAccessToApplicationDirectory() +72
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +263

[HttpException (0x80004005): ASP.NET Initialization Error]
System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +965
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +128

------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573

dotnet framwork is installed on the server and web.config file
is also there in the root folder of the application.

And I Gave the local user ASPNET read/excecute permissions to your application directory (E:\web\mysite\prabodh\).

I also made sure that the directory is defined as an application in IIS

can any one tell me why i am getting this message.
Thnx in advance.
Jean PaulAre you sure that you're running with the ASPNET user?
no iam not sure

Please Help - WEB Application

Hi Everyone,

I have a VB script (.aspx) project that needs to produce nine unique,
randomly generated numbers that uses all nine of the numbers. I will greatly
appreciate either a recommendation of where to look on the web for my
answer, or your direct response.

Thanks a 1,000,000 for your ideas.
ChuckChuck Insight wrote:
> Hi Everyone,
> I have a VB script (.aspx) project that needs to produce nine unique,
> randomly generated numbers that uses all nine of the numbers. I will greatly
> appreciate either a recommendation of where to look on the web for my
> answer, or your direct response.
> Thanks a 1,000,000 for your ideas.
> Chuck

If I understand correctly, you want to generate a nine-digit
"random" code that uses all of the digits in 123456789.
(what about "0"?)

What you can do is
1) start with "123456789"
2) generate two random numbers from 0 to 8 (inclusive)
3) exchange the digits at those positions
4) repeat steps 2) and 3) a dozen times.

To generate a random number, see the System.Random class
(create *one* instance, then repeatedly get random numbers
from that class)

To generate nine of these codes, use this repeatedly
but check if you already have this particular code. If
yes, discard this code and generate again.

--
Hans Kesting

Saturday, March 24, 2012

Please Help - WEB Application

Hi Everyone,
I have a VB script (.aspx) project that needs to produce nine unique,
randomly generated numbers that uses all nine of the numbers. I will greatly
appreciate either a recommendation of where to look on the web for my
answer, or your direct response.
Thanks a 1,000,000 for your ideas.
ChuckChuck Insight wrote:
> Hi Everyone,
> I have a VB script (.aspx) project that needs to produce nine unique,
> randomly generated numbers that uses all nine of the numbers. I will great
ly
> appreciate either a recommendation of where to look on the web for my
> answer, or your direct response.
> Thanks a 1,000,000 for your ideas.
> Chuck
>
If I understand correctly, you want to generate a nine-digit
"random" code that uses all of the digits in 123456789.
(what about "0"?)
What you can do is
1) start with "123456789"
2) generate two random numbers from 0 to 8 (inclusive)
3) exchange the digits at those positions
4) repeat steps 2) and 3) a dozen times.
To generate a random number, see the System.Random class
(create *one* instance, then repeatedly get random numbers
from that class)
To generate nine of these codes, use this repeatedly
but check if you already have this particular code. If
yes, discard this code and generate again.
Hans Kesting

Wednesday, March 21, 2012

please help me

i have a qustions
please help me
for example i have 3 webform names (webform1.aspx.webform2.aspx,webform3.aspx) in webform1.aspx,webform2.aspx this is a hyperlink that url is webform3.aspx when i click this go to webform3
now i know when i in webform3 i login in webform1 or webform2
this is write which webform loginHello,
I didnt get you but maybe you want to get the page redirected from, use this

request.UrlReferrer
regards

Please help me

My codebehind file (.aspx.cs) will not load. When I post my web application everything works except the actual code in the .cs file. I mean that when tou press the button it will not execute the code.

If anyone can help me, please do!

Thanks!

the button have runat=server?

Hello,

Is the page being refreshed (postback)?

If yes then go to your code and double click on the button to create the event handler again, then recompile.

If not then tell me to help you sorting that out.

regards


fastlearner wrote:

My codebehind file (.aspx.cs) will not load. When I post my web application everything works except the actual code in the .cs file. I mean that when tou press the button it will not execute the code.

If anyone can help me, please do!

Thanks!

Have you fully compiled your project and deployed the bin directory to your web server?


The page is not beeing refreshed!

The .cs file is probably not beeing loaded at all by the compiler, or second .dll doesn't inherit from the first.

Thanks.


Hello,

1) Try to run your application in different browser (FireFox)

2) execute this C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -c

regards


Thanks for all your help.

It seems my problem was an improper configuration of the IIS to use ASP.net

Regards


What was the problem? and what you did to solve it?

regards

Please Help me

I am getting the following error.
I Created a Web Project
then added upload.aspx
Then I got this error.
I keep aspx controls i am geeting this error.
I have xp pro with IIS Installed
then i installed .net
then i repaired IIS.
Again i installed FrameWork 1.1
I dont know what was the problem.
Please help me.
Thanks

Server Error in '/Inguva' Application.
-----------------------
--

Parser Error
Description: An error occurred during the parsing of a resource required to
service this request. Please review the following specific parse error
details and modify your source file appropriately.

Parser Error Message: Could not load type 'upload'.

Source Error:

Line 1: <%@dotnet.itags.org. Page Language="vb" AutoEventWireup="true"
Codebehind="upload.aspx.vb" Inherits="upload" %>
Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
Line 3: <HTML
Source File: c:\inetpub\wwwroot\Inguva\upload.aspx Line: 1

-----------------------
--

Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET
Version:1.1.4322.573You need to upload the DLL that was compiled when you compiled your project.
Your codebehind gets compiled into a DLL.

"Murali Inguva" <minguva@.hotmail.com> wrote in message
news:uqOxcihSDHA.2152@.TK2MSFTNGP12.phx.gbl...
> I am getting the following error.
> I Created a Web Project
> then added upload.aspx
> Then I got this error.
> I keep aspx controls i am geeting this error.
> I have xp pro with IIS Installed
> then i installed .net
> then i repaired IIS.
> Again i installed FrameWork 1.1
> I dont know what was the problem.
> Please help me.
> Thanks
> Server Error in '/Inguva' Application.
> -----------------------
--
> --
> Parser Error
> Description: An error occurred during the parsing of a resource required
to
> service this request. Please review the following specific parse error
> details and modify your source file appropriately.
> Parser Error Message: Could not load type 'upload'.
> Source Error:
>
> Line 1: <%@. Page Language="vb" AutoEventWireup="true"
> Codebehind="upload.aspx.vb" Inherits="upload" %>
> Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> Line 3: <HTML>
>
> Source File: c:\inetpub\wwwroot\Inguva\upload.aspx Line: 1
>
> -----------------------
--
> --
> Version Information: Microsoft .NET Framework Version:1.1.4322.573;
ASP.NET
> Version:1.1.4322.573
You need to upload the DLL that was compiled when you compiled your project.
Your codebehind gets compiled into a DLL.

"Murali Inguva" <minguva@.hotmail.com> wrote in message
news:uqOxcihSDHA.2152@.TK2MSFTNGP12.phx.gbl...
> I am getting the following error.
> I Created a Web Project
> then added upload.aspx
> Then I got this error.
> I keep aspx controls i am geeting this error.
> I have xp pro with IIS Installed
> then i installed .net
> then i repaired IIS.
> Again i installed FrameWork 1.1
> I dont know what was the problem.
> Please help me.
> Thanks
> Server Error in '/Inguva' Application.
> -----------------------
--
> --
> Parser Error
> Description: An error occurred during the parsing of a resource required
to
> service this request. Please review the following specific parse error
> details and modify your source file appropriately.
> Parser Error Message: Could not load type 'upload'.
> Source Error:
>
> Line 1: <%@. Page Language="vb" AutoEventWireup="true"
> Codebehind="upload.aspx.vb" Inherits="upload" %>
> Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> Line 3: <HTML>
>
> Source File: c:\inetpub\wwwroot\Inguva\upload.aspx Line: 1
>
> -----------------------
--
> --
> Version Information: Microsoft .NET Framework Version:1.1.4322.573;
ASP.NET
> Version:1.1.4322.573
Where i have to upload?
Right now my code in default path

C:\Inetpub\wwwroot\Inguva
and my dlls are in
C:\Inetpub\wwwroot\Inguva\bin\debug

Is there any specified place i have to upload my dlls?

Thank you
for your response
"Marina" <zlatkinam@.nospam.hotmail.com> wrote in message
news:O8cfc4hSDHA.2248@.TK2MSFTNGP11.phx.gbl...
> You need to upload the DLL that was compiled when you compiled your
project.
> Your codebehind gets compiled into a DLL.
> "Murali Inguva" <minguva@.hotmail.com> wrote in message
> news:uqOxcihSDHA.2152@.TK2MSFTNGP12.phx.gbl...
> > I am getting the following error.
> > I Created a Web Project
> > then added upload.aspx
> > Then I got this error.
> > I keep aspx controls i am geeting this error.
> > I have xp pro with IIS Installed
> > then i installed .net
> > then i repaired IIS.
> > Again i installed FrameWork 1.1
> > I dont know what was the problem.
> > Please help me.
> > Thanks
> > Server Error in '/Inguva' Application.
> -----------------------
> --
> > --
> > Parser Error
> > Description: An error occurred during the parsing of a resource required
> to
> > service this request. Please review the following specific parse error
> > details and modify your source file appropriately.
> > Parser Error Message: Could not load type 'upload'.
> > Source Error:
> > Line 1: <%@. Page Language="vb" AutoEventWireup="true"
> > Codebehind="upload.aspx.vb" Inherits="upload" %>
> > Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> > Line 3: <HTML>
> > Source File: c:\inetpub\wwwroot\Inguva\upload.aspx Line: 1
> -----------------------
> --
> > --
> > Version Information: Microsoft .NET Framework Version:1.1.4322.573;
> ASP.NET
> > Version:1.1.4322.573
Where i have to upload?
Right now my code in default path

C:\Inetpub\wwwroot\Inguva
and my dlls are in
C:\Inetpub\wwwroot\Inguva\bin\debug

Is there any specified place i have to upload my dlls?

Thank you
for your response
"Marina" <zlatkinam@.nospam.hotmail.com> wrote in message
news:O8cfc4hSDHA.2248@.TK2MSFTNGP11.phx.gbl...
> You need to upload the DLL that was compiled when you compiled your
project.
> Your codebehind gets compiled into a DLL.
> "Murali Inguva" <minguva@.hotmail.com> wrote in message
> news:uqOxcihSDHA.2152@.TK2MSFTNGP12.phx.gbl...
> > I am getting the following error.
> > I Created a Web Project
> > then added upload.aspx
> > Then I got this error.
> > I keep aspx controls i am geeting this error.
> > I have xp pro with IIS Installed
> > then i installed .net
> > then i repaired IIS.
> > Again i installed FrameWork 1.1
> > I dont know what was the problem.
> > Please help me.
> > Thanks
> > Server Error in '/Inguva' Application.
> -----------------------
> --
> > --
> > Parser Error
> > Description: An error occurred during the parsing of a resource required
> to
> > service this request. Please review the following specific parse error
> > details and modify your source file appropriately.
> > Parser Error Message: Could not load type 'upload'.
> > Source Error:
> > Line 1: <%@. Page Language="vb" AutoEventWireup="true"
> > Codebehind="upload.aspx.vb" Inherits="upload" %>
> > Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> > Line 3: <HTML>
> > Source File: c:\inetpub\wwwroot\Inguva\upload.aspx Line: 1
> -----------------------
> --
> > --
> > Version Information: Microsoft .NET Framework Version:1.1.4322.573;
> ASP.NET
> > Version:1.1.4322.573
They should be in the bin directory, not the bin/debug directory.

"Murali Inguva" <minguva@.hotmail.com> wrote in message
news:OFd0v8hSDHA.2092@.TK2MSFTNGP10.phx.gbl...
> Where i have to upload?
> Right now my code in default path
> C:\Inetpub\wwwroot\Inguva
> and my dlls are in
> C:\Inetpub\wwwroot\Inguva\bin\debug
> Is there any specified place i have to upload my dlls?
> Thank you
> for your response
> "Marina" <zlatkinam@.nospam.hotmail.com> wrote in message
> news:O8cfc4hSDHA.2248@.TK2MSFTNGP11.phx.gbl...
> > You need to upload the DLL that was compiled when you compiled your
> project.
> > Your codebehind gets compiled into a DLL.
> > "Murali Inguva" <minguva@.hotmail.com> wrote in message
> > news:uqOxcihSDHA.2152@.TK2MSFTNGP12.phx.gbl...
> > > I am getting the following error.
> > > I Created a Web Project
> > > then added upload.aspx
> > > Then I got this error.
> > > I keep aspx controls i am geeting this error.
> > > I have xp pro with IIS Installed
> > > then i installed .net
> > > then i repaired IIS.
> > > Again i installed FrameWork 1.1
> > > I dont know what was the problem.
> > > Please help me.
> > > Thanks
> > > > Server Error in '/Inguva' Application.
> -----------------------
> > --
> > > --
> > > > Parser Error
> > > Description: An error occurred during the parsing of a resource
required
> > to
> > > service this request. Please review the following specific parse error
> > > details and modify your source file appropriately.
> > > > Parser Error Message: Could not load type 'upload'.
> > > > Source Error:
> > > > > Line 1: <%@. Page Language="vb" AutoEventWireup="true"
> > > Codebehind="upload.aspx.vb" Inherits="upload" %>
> > > Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN">
> > > Line 3: <HTML>
> > > > > Source File: c:\inetpub\wwwroot\Inguva\upload.aspx Line: 1
> > > > -----------------------
> > --
> > > --
> > > > Version Information: Microsoft .NET Framework Version:1.1.4322.573;
> > ASP.NET
> > > Version:1.1.4322.573
> >
They should be in the bin directory, not the bin/debug directory.

"Murali Inguva" <minguva@.hotmail.com> wrote in message
news:OFd0v8hSDHA.2092@.TK2MSFTNGP10.phx.gbl...
> Where i have to upload?
> Right now my code in default path
> C:\Inetpub\wwwroot\Inguva
> and my dlls are in
> C:\Inetpub\wwwroot\Inguva\bin\debug
> Is there any specified place i have to upload my dlls?
> Thank you
> for your response
> "Marina" <zlatkinam@.nospam.hotmail.com> wrote in message
> news:O8cfc4hSDHA.2248@.TK2MSFTNGP11.phx.gbl...
> > You need to upload the DLL that was compiled when you compiled your
> project.
> > Your codebehind gets compiled into a DLL.
> > "Murali Inguva" <minguva@.hotmail.com> wrote in message
> > news:uqOxcihSDHA.2152@.TK2MSFTNGP12.phx.gbl...
> > > I am getting the following error.
> > > I Created a Web Project
> > > then added upload.aspx
> > > Then I got this error.
> > > I keep aspx controls i am geeting this error.
> > > I have xp pro with IIS Installed
> > > then i installed .net
> > > then i repaired IIS.
> > > Again i installed FrameWork 1.1
> > > I dont know what was the problem.
> > > Please help me.
> > > Thanks
> > > > Server Error in '/Inguva' Application.
> -----------------------
> > --
> > > --
> > > > Parser Error
> > > Description: An error occurred during the parsing of a resource
required
> > to
> > > service this request. Please review the following specific parse error
> > > details and modify your source file appropriately.
> > > > Parser Error Message: Could not load type 'upload'.
> > > > Source Error:
> > > > > Line 1: <%@. Page Language="vb" AutoEventWireup="true"
> > > Codebehind="upload.aspx.vb" Inherits="upload" %>
> > > Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN">
> > > Line 3: <HTML>
> > > > > Source File: c:\inetpub\wwwroot\Inguva\upload.aspx Line: 1
> > > > -----------------------
> > --
> > > --
> > > > Version Information: Microsoft .NET Framework Version:1.1.4322.573;
> > ASP.NET
> > > Version:1.1.4322.573
> >
Perfect... It is working
Thank You very much for your help .
"Marina" <zlatkinam@.nospam.hotmail.com> wrote in message
news:uuH4j$hSDHA.2188@.TK2MSFTNGP10.phx.gbl...
> They should be in the bin directory, not the bin/debug directory.
> "Murali Inguva" <minguva@.hotmail.com> wrote in message
> news:OFd0v8hSDHA.2092@.TK2MSFTNGP10.phx.gbl...
> > Where i have to upload?
> > Right now my code in default path
> > C:\Inetpub\wwwroot\Inguva
> > and my dlls are in
> > C:\Inetpub\wwwroot\Inguva\bin\debug
> > Is there any specified place i have to upload my dlls?
> > Thank you
> > for your response
> > "Marina" <zlatkinam@.nospam.hotmail.com> wrote in message
> > news:O8cfc4hSDHA.2248@.TK2MSFTNGP11.phx.gbl...
> > > You need to upload the DLL that was compiled when you compiled your
> > project.
> > > Your codebehind gets compiled into a DLL.
> > > > "Murali Inguva" <minguva@.hotmail.com> wrote in message
> > > news:uqOxcihSDHA.2152@.TK2MSFTNGP12.phx.gbl...
> > > > I am getting the following error.
> > > > I Created a Web Project
> > > > then added upload.aspx
> > > > Then I got this error.
> > > > I keep aspx controls i am geeting this error.
> > > > I have xp pro with IIS Installed
> > > > then i installed .net
> > > > then i repaired IIS.
> > > > Again i installed FrameWork 1.1
> > > > I dont know what was the problem.
> > > > Please help me.
> > > > Thanks
> > > > > > Server Error in '/Inguva' Application.
> > -----------------------
> > > --
> > > > --
> > > > > > Parser Error
> > > > Description: An error occurred during the parsing of a resource
> required
> > > to
> > > > service this request. Please review the following specific parse
error
> > > > details and modify your source file appropriately.
> > > > > > Parser Error Message: Could not load type 'upload'.
> > > > > > Source Error:
> > > > > > > > Line 1: <%@. Page Language="vb" AutoEventWireup="true"
> > > > Codebehind="upload.aspx.vb" Inherits="upload" %>
> > > > Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
> Transitional//EN">
> > > > Line 3: <HTML>
> > > > > > > > Source File: c:\inetpub\wwwroot\Inguva\upload.aspx Line: 1
> > > > > > > > -----------------------
> > > --
> > > > --
> > > > > > Version Information: Microsoft .NET Framework Version:1.1.4322.573;
> > > ASP.NET
> > > > Version:1.1.4322.573
> > > > > >
Perfect... It is working
Thank You very much for your help .
"Marina" <zlatkinam@.nospam.hotmail.com> wrote in message
news:uuH4j$hSDHA.2188@.TK2MSFTNGP10.phx.gbl...
> They should be in the bin directory, not the bin/debug directory.
> "Murali Inguva" <minguva@.hotmail.com> wrote in message
> news:OFd0v8hSDHA.2092@.TK2MSFTNGP10.phx.gbl...
> > Where i have to upload?
> > Right now my code in default path
> > C:\Inetpub\wwwroot\Inguva
> > and my dlls are in
> > C:\Inetpub\wwwroot\Inguva\bin\debug
> > Is there any specified place i have to upload my dlls?
> > Thank you
> > for your response
> > "Marina" <zlatkinam@.nospam.hotmail.com> wrote in message
> > news:O8cfc4hSDHA.2248@.TK2MSFTNGP11.phx.gbl...
> > > You need to upload the DLL that was compiled when you compiled your
> > project.
> > > Your codebehind gets compiled into a DLL.
> > > > "Murali Inguva" <minguva@.hotmail.com> wrote in message
> > > news:uqOxcihSDHA.2152@.TK2MSFTNGP12.phx.gbl...
> > > > I am getting the following error.
> > > > I Created a Web Project
> > > > then added upload.aspx
> > > > Then I got this error.
> > > > I keep aspx controls i am geeting this error.
> > > > I have xp pro with IIS Installed
> > > > then i installed .net
> > > > then i repaired IIS.
> > > > Again i installed FrameWork 1.1
> > > > I dont know what was the problem.
> > > > Please help me.
> > > > Thanks
> > > > > > Server Error in '/Inguva' Application.
> > -----------------------
> > > --
> > > > --
> > > > > > Parser Error
> > > > Description: An error occurred during the parsing of a resource
> required
> > > to
> > > > service this request. Please review the following specific parse
error
> > > > details and modify your source file appropriately.
> > > > > > Parser Error Message: Could not load type 'upload'.
> > > > > > Source Error:
> > > > > > > > Line 1: <%@. Page Language="vb" AutoEventWireup="true"
> > > > Codebehind="upload.aspx.vb" Inherits="upload" %>
> > > > Line 2: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
> Transitional//EN">
> > > > Line 3: <HTML>
> > > > > > > > Source File: c:\inetpub\wwwroot\Inguva\upload.aspx Line: 1
> > > > > > > > -----------------------
> > > --
> > > > --
> > > > > > Version Information: Microsoft .NET Framework Version:1.1.4322.573;
> > > ASP.NET
> > > > Version:1.1.4322.573
> > > > > >

Please help me ..(:

Hi,

When user clicks on the PRINT button, i like the system automatically print a WEBFORM ASPX file (which is in Report format)..ie, OnClick it should call that ASPX file and print it...

Please advice me (:You have to make a "Printer Friendly Version" button that the user can click to go to that page (or load a pop up) and then call window.print(); (I think).
You can also create a style in your stylesheet that will resize the controls differently for "print" and "screen" situations. This will allow you to auto-resize all pages so they
are printer-friendly.
Hello -

I'm assuming you have something like an array (list) of documents that
you would like to choose from to print...

I had the same type of task...

I completed it with having a button for each entry on the form, and when
the user pressed a button, a child window (popup) would display the
form (or PDF)
The popup window had a header frame that allowed the user to print or
cancel the form...

the trick was, once the popup window ready to be displayed, i would create
a DIV tag around the entire contents, and the print button would print the
contents of the DIV tag...

I also added a little model window magic - to keep the child window
open until the user closes the popup.

Worked like a champ.

best of luck

take care
tony
Hi,

it's a much cleaner solution to use css for this one. Take a look at this article:CSS Design: Going to Print.

Grz, Kris.

Please help me fix this code to make it work properly

default.asp code

<%

@dotnet.itags.org.PageLanguage="VB"AutoEventWireup="true"CodeFile="Default.aspx.vb"Inherits="_Default" %>

<!

DOCTYPEhtmlPUBLIC"-//W3C//DTD XHTML 1.1//EN""http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<

htmlxmlns="http://www.w3.org/1999/xhtml">

<

headrunat="server"><title>Untitled Page</title>

</

head>

<

body><formid="form1"runat="server"><div><asp:ScriptManagerID="ScriptManager1"runat="server"EnablePartialRendering="True"></asp:ScriptManager><asp:UpdatePanelID="UpdatePanel1"runat="server"><ContentTemplate><asp:LabelID="Label1"runat="server"Text="Label"></asp:Label></ContentTemplate><Triggers><asp:AsyncPostBackTriggerControlID="Timer1"EventName="Tick"/></Triggers></asp:UpdatePanel><asp:TimerID="Timer1"runat="server"Interval="2000"></asp:Timer></div><br/><asp:TextBoxID="TextBox1"runat="server"AutoPostBack="True">Input Test</asp:TextBox><asp:ButtonID="Button1"runat="server"Text="Button"/></form>

</

body>

</

html>

vb code

Partial

Class _DefaultInherits System.Web.UI.PageDim tempAsStringProtectedSub Page_Load(ByVal senderAsObject,ByVal eAs System.EventArgs)HandlesMe.LoadIf Page.IsPostBackThen

Label1.Text = temp

EndIfEndSubProtectedSub Button1_Click(ByVal senderAsObject,ByVal eAs System.EventArgs)Handles Button1.ClickDim iAsIntegerFor i = 0To 100

temp =

String.Format("{0} {1} {2}", TextBox1.Text, i,"<br />")NextEndSub

End

Class

The problem im getting is each time the page do a postback the temp's value is nothing. What do i need to look into to make it work?

Thanks!!

ASP.NET creates a new page object to service each request. This typically makes the application faster, more scalable and more reliable.

Therefore, you cannot maintain state in a field within a class (as you're attempting to do above).

You either need to store the data on the page (using ViewState, which generates a hidden field in the HTML) or in a Session object.

Both of these use simple indexing to put data in and get data out, as shown below:

ViewState("TempValue") = 10 ' put a value into the ViewState collection for this page

Dim i As Integer = CInt( ViewState("TempValue" ) ) ' get the value back out of the ViewState collection

Normally you should add code to make sure that the value you're reading is not nothing.

Be aware that ViewState data is present in the client HTML and can thus be read (and altered) unless you turn on ViewState protection. ViewState can really only be used on a single page.

Session data, on the other hand, is maintained on the Server and is thus more secure. Session can also be used across multiple pages.

You might want to check out some of the posts in the State Management forum (and in the ASP.NET documentation) for more details on ASP.NET state management technologies.


hi,

is it the case that you want to display value of temp in label if button is clicked,

simple after your for loop write this Label1.Text = temp in button click.

regards,

satish.


I'll go read on that topic some more .. Thanks


What i want to do is to have the temp value update each time from the loop

hi,

in your button click you've written temp = some value in for i=1 to 100, ok. so what will happen is at last it will contain values for i=100.

to persist value of temp you could store it in viewstate or a hidden field with runat=server. then in page load set temp = viewstate("temp")

then set lable.text = temp.

regards,

satish.

please help me soon!

Hi,i upload my aspx files in server that support asp when I try to run pages it dosent show any thing in my system and it shows error about <authentication mode="windows" /> so I set it t
<authentication mode="none" /><!-- AUTHORIZATION
This section sets the authorization policies of the application. You can allow or deny acces
to application resources by user or role. Wildcards: "*" mean everyone, "?" means anonymous
(unauthenticated) users
--><forms name=".ASPXAUTH
loginUrl="orderdetails.aspx
protection="Validation
timeout="999999" /><authorization

this is a page I want to run . if i new virtual directory in server all the pages are in asp and run and just i have 2 page in .net that want to run in this project does it need have two virtual directory one for asp.net pages and another for asp pages and does it couse problem

If some body can help meFirst what sort of error do you get and second, no you do not need to virtual web servers.
hi this is an error
this is an error to use a section register as allow definition='machine to application' beyond application level.yhis error can be coused by a virtual directory not being configured as an application in iis