|
what i mean is use a string to save a group of values seperated by commas or any separation character then then you can save it in the session variable so that it stays throught the application ...
another way for saving data throughout the application is to use a common class for the complete application which has static variables which hold ur data
as variables are static so they will have single copy and so u can maintain the values or state till the application ends..
hope i am clear now
enjoy..
|
|
|
|
|
Hi,
You can use Application level variable to store the multiple values of variables by creating Array or object which store string.
I hope this will useful to you.
Nimit Patel
|
|
|
|
|
Are you certain that using session state will slow down your app ? How much are you storing ? Viewstate is a bad option, because it increases the size of the pages going down to the client. It's useful, to be sure, but it needs to be controlled, and not used for app wide values.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
hi everyone
i can debug my windows applications but not any web applications.
it seems some previleges problem.
i have logged in through administrator account.i m also the member of debugger users and vs developers group.
any thing more which i m missing.
plz
plz
help
|
|
|
|
|
ya if u are using winxp
then follow the steps
go to IIS then go to "default website" which is just after website folder icon in tree view
right click on it and select "properties" option
next go to "directory security tab in it.
you can see the first one is "anomynous access and authentication control"
in that click "edit"
and then enable "integrated windows authentication" in it
and then u can debug ur web applications...
|
|
|
|
|
thanks for ur suggetion.
but "integrated windows authentication" is already enabled.
i am using winXp.
plz guide me...
|
|
|
|
|
Hi,
I continue here from above reply from click on EDIT button,
click checkbox of Anonymous access,
browse and enter -> IUSER_[your computer name]
ex. my computer name is "nimit" then IUSER_NIMIT
click checkbox of allow IIS to control password
In Authenticated Access Box checked "integrated windows authentication"
now you check your web config file for the debuging = true
I hope you will check this all option and get your debuging again.
Nimit Patel
|
|
|
|
|
my computer name is ServerHO3.
i have given IUSR_ServerHO3
and follow ur steps.
still i can not debug.same problem of previleges.
now i m very much frustrated.
any body
plz
help
help me
-- modified at 8:01 Friday 22nd December, 2006
|
|
|
|
|
Hello,
It is IUSR_ServerHO3
ok
Nimit Patel
|
|
|
|
|
thanks for ur early response
but will u plz look at my modified post.
it is IUSR_ServerHO3
|
|
|
|
|
Have you check your web config is enable for debuging.
if yes,
Then what was the message now you get that you tell me
Nimit Patel
|
|
|
|
|
ya in web.config
In compilation section debug="true"
is it ok.
now when i m pressing F5 i leaves with the error
"error while trying to run project.Unable to start debugging on the web server.You do not have previleges to debug web server process.
Contact an administrator to get debug previleges on the server.You may also want to refer ASP.Net and ATL Server debugging topic in the online documentation."
again to clarify
1.i have logged in through administrator.
2.i m the member of debugger users and VSDevelopers group.
3.integrated windows authentication is enabled.
4.In projects configuration properties ASP.Net debugging is also enabled
5.Anonymous access is also enabled and IUSR_ServerHO3 is there
6.Allow IIS to manage password is also enabled.
now only u can help me
plz think .
i m getting this error from previous 1 month.
although i m able to start without debugging(ctrl+F5)
think plz
|
|
|
|
|
Try attaching to process.
Open you website in the browser.
In VisualStudio (if this is, what you are using), go to debug-> attach to process. Choose aspnet_wp if you are using XP.
Put some breakpoint, and you should get there
Sincerely,
Elina
Life is great!!!
Enjoy every moment of it!
|
|
|
|
|
Thanks for ur suggetion but it did'nt allow me to attach aspnet_wp.exe
ya i m using windows XP.
error comes while i m going to attach aspnet_wp.exe
"unable to attach to process.Access is denied."
-- modified at 1:05 Monday 25th December, 2006
|
|
|
|
|
Dear,
add the ASPNET user to your DEBUGGER group and it will work fine
Best Regards,
Haissam Abdul Malak
My Blog
|
|
|
|
|
Hi
I would like to list all the available servers from tnsnames.ora file.
DBNAME =
(DESCRIPTIOMN= (ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=113.114.2.145)(PORT=1521))
(CONNECT_DATA=SERVICE_NAME=dbname))
In this file i want to read exactly service_name. How to do it in C#. Any one could you help me please?
kesavan
|
|
|
|
|
if that is the format u know that u always get the string
then i can say u can use string functions like spit with
separation character as " = "
then as you can count in that string its the 9 th one or the last one in the string
so take the last element in the string and remove the "))" from last part of the
string again using a string function "remove" and then u get the the service name ...
|
|
|
|
|
you can do 2 things:
1 - Don't cross post
2 - use regex with matches.
|
|
|
|
|
Hi all,
Anyone can tell me how do I create a Web Service and what kind of applications are develop with the help of Web Service.How do I start.Please help me.
Thanks in advance.
|
|
|
|
|
This is a BIG topic.
Start by searching code project for Web Services articles.
Blog Have I http:\\www.frankkerrigan.com
|
|
|
|
|
I have search few pages but not getting how do I start and what is the use of it.
Thanks and Regards.
|
|
|
|
|
Look at this article,you can find something very useful.
<<introduction to="" .net="" web="" service="">>
I think therefore I am
--~--~---------~--~----~------------~-------~--~----~
My Blog and Website:
http://www.cnblogs.com/pinzui/
http://www.pinzui.cn
http://jnlinux.org
--~--~---------~--~----~------------~-------~--~----~
|
|
|
|
|
Try baby steps.
Create a very simple web service to add 2 numbers or something. then use this service. Get into more depth as you learn more and more.
|
|
|
|
|
|
I created an assembly called "MyAssembly", which has two versions 1.1 and 1.2. I placed this assembly into GAC. Now I want to use ver1.1 in one page and 1.2 in second page in same application. Is this possible? If s how?
thanks.
|
|
|
|