|
I cannot really step through the code as I do not have remote debugger setup. But like I said before, it works fine if you stay active on the page, if you wait like 2 or 3 minutes the pages has what I can only describe as a cache effect and only updates a few seconds worth, then if I get active again after that, it works correctly.
The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo
|
|
|
|
|
Exception Details: System.UnauthorizedAccessException: Access to the path 'd:\hosting\u4arabeya\jobs\addcv11\CVs\Answers to Non-Muslims.pdf' is denied.
ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user
and when i add the impersonate with the user name and password it aslo desn'et work
any help please
|
|
|
|
|
The user account that your website is running under doesn't have the rights to access this location. If you are uploading to this directory, right-click the directory in Windows Explorer, select 'Security' and grant the user account Write access.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
Dear Friends,
Actually this is my first project in which i create an ASP.net web site i want some global data which i stored in Resource.resx file and i create solution for some business logic now each time i have to pass the Resource.resx file data to solution at any page or button event can it is possible to access the resource file of that web site from the soution itself so it could be centralise at solution level.
[Solution (Bussiness Logic)] - [Resource File (Centralise Info)] - [Web page (Front End)]
is this a good idea or i thinking something which is not possible.
i am using Microsoft Visual Studio 2005 (Framework 2.0)
Thanks in advance
Sasmi
|
|
|
|
|
i dont know how did you store the global data in resx file. As per my knowledge resx file is automatically created for an aspx and it only holds the data of the page. I dont know how to call resx file in the code but i have a suggestion...Dont make the code too complicated..if you want the global data to be stored then create a separate class...while deploying use x copy deployment where you only use dll...hope this will help you...
bzinez
|
|
|
|
|
It's always a good practice to keep the string values which is common to the application in a assembly resource file.
In Framework 2.0, accessing the named strings from assembly resource file has been made very simpler. You have to add the resource file to the App_GlobalResources folder and add the named strings to the resource file.
Say for an example, you have added a resource file with the name GlobalData.resx and a string ApplicationName with the value "Sample Application". The named strings you add to a global resource file are accessible through a namespace named Resources . It takes a single line of code...
lblAppName.Text = Resources.GlobalData.ApplicationName
- Regards - J O N
A good thing is a bad thing if it keeps you from the best thing. - Dr. Adrian Rogers
|
|
|
|
|
how i can make a list box to show the data in the columns manner
like this
col1 col2 col3
1 2 4
and user can select 1 or 2 or 3
|
|
|
|
|
jagadeeshkumar2106 wrote: how i can make a list box to show the data in the columns manner
You can't. Use some grid-based control instead and provide the user with the ability to select rows of data.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
what is difference between asp.net and C#.net
arivazhagi
|
|
|
|
|
ASP.NET is web technology. You can use either C# or VB.NET to create the ASP.NET application.
|
|
|
|
|
arivazhagi wrote: what is difference between asp.net and C#.net
asp.net is 1 character longer than C#.net
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
C# is a language
ASP.NET is a framework.
|
|
|
|
|
arivazhagi wrote: what is difference between asp.net and C#.net
hi there,
First of all c# is a language and ASP.net is web technology which is used for development of web sites and web services. For the development of website using ASP.net we can use any of the languages c#, VB, c++, j# which is provided by Visual Studio 2005. If we are using c# then we call c#.net, if we are using VB then we call VB.net. It is simple naming convention which specifies which language is used for development of any project.
Hope this will help you.
Thanks &Regards
Dilip Kumar VIshwakarma
|
|
|
|
|
Hello Friends,
I'm sending mail in ASP.NET 2.0 then it's raising the following error
Mailbox unavailable. The server response was: 5.7.1 Unable to relay for manoj.msb1984@gmail.com
|
|
|
|
|
|
Now i've configured SMTP. And also it's sending message "Mail Sent Successfully" But i'm not receiving any mail and also not spam too.
It's ok for localhost. But if i upload my project on my server then localhost won't work am i right.
If yes plz explain wht more modication i must make in my code
|
|
|
|
|
??Is your server in your network or are you using some hosting service?
If you are using local mail server, you have to use your mail server name instead of localhost..
If you are on web host, you should contact with your hosting service provider. The process is differ from one host to another..
|
|
|
|
|
I used the following code to get the Ip address
Dim compname As String
Dim i As Integer
Dim ip1 As String()
compname = System.Net.Dns.GetHostName()
Dim ipentry As New IPHostEntry
ipentry = Dns.GetHostEntry(compname)
Dim ip As IPAddress()
ip = ipentry.AddressList
For i = 0 To ip.Length - 1
MsgBox(ip(i).ToString())
Next
But when i host page to server it display server ip address.I want the Client ip address.If anyone know the code pls tell me
|
|
|
|
|
Deepthy.P.M wrote: Dim compname As String
Dim i As Integer
Dim ip1 As String()
compname = System.Net.Dns.GetHostName()
Dim ipentry As New IPHostEntry
ipentry = Dns.GetHostEntry(compname)
Dim ip As IPAddress()
ip = ipentry.AddressList
For i = 0 To ip.Length - 1
MsgBox(ip(i).ToString())
Next
Hi,
this code is server side code so it wont give you IP of client.
try this link[^]
May be it can help you.
Thanks,
Sun Rays
To get something you must have to try once.
My Articles
|
|
|
|
|
Deepthy.P.M wrote: I want the Client ip address
Request.UserHostAddress - Gets the IP Address of the Remote Client.
- Regards - J O N
A good thing is a bad thing if it keeps you from the best thing. - Dr. Adrian Rogers
|
|
|
|
|
I think u cant understand my probem.
I wrote a code but whan i hosted in server it display server dynamic ip adddress.I need client ip address after hosting to web server.If u know the code pls
|
|
|
|
|
Dear all,
i have creat a website using asp.net 2.0 validation using vbscript and Javascript, which run fine on window server 2003 SP1,
but
when i run same site on Windows server 2003 SP2, it gives me scripting error and unable to support scripting.
means when i click on any submit button it does not give me response.
where i am wrong ???
what should i do???
regards
koolprasad2003
Be a good listener...Because Opprtunity knoughts softly...N-Joy
|
|
|
|
|
Hey CoolPrasad,
koolprasad2003 wrote: when i run same site on Windows server 2003 SP2, it gives me scripting error and unable to support scripting.
It is a Server Machine and due to security reasons most of the script would not work in the Server's IE. You need to change the security settings of the Server's Internet Explorer which is not highly recommended.
Try to access the website from other machine (client machine). No script error will not occur unless or until there is really a problem in your script.
|
|
|
|
|
|
Hi,
why u cant use Ajax control ??
Thanks,
Sun Rays
To get something you must have to try once.
My Articles
|
|
|
|