|
Your event handler does not have the same method signature as the event it has been set up to handle.
Paul Marfleet
|
|
|
|
|
hi,
can anyone help me on the following?
I want to save all the sessions along with its data into sqlserver database. After that I want to fetch n display on UI.
|
|
|
|
|
Are you asking for the code ?
No you should try this by searching google
Any way
One way is put the content of the session in dataset and push that dataset in database table.
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Go to command mode and go <windows drive="">\WINDOWS\Microsoft.NET\Framework\v2.0.50727
run aspnet_state.exe with appropiate parameters, then configure your web.config.
Muhammad Rashid
|
|
|
|
|
rashidpervaiz08 wrote: Go to command mode and go \WINDOWS\Microsoft.NET\Framework\v2.0.50727
run aspnet_state.exe with appropiate parameters, then configure your web.config.
did you read the post before responding?
I don't think this will solve his problem.
Regards J O H N
"Even eagles need a push." David McNally
|
|
|
|
|
|
Create a Table in the SQL Server to store the session values. If you already have one then....otherwise You decide the structure of the table.
In the front-end to collect the session values use Session.Keys collection class and add the key and values to the DataTable. store it to the Database. Here is a way how to read the session Values...
Dim Key, SessionKey, SessionValue As String
For Each Key In Session.Keys
SessionKey = Key
SessionValue = Session(Key)
'Add the userId, SessionKey and SessionValue to the Table
Next
Regards J O H N
"Even eagles need a push." David McNally
|
|
|
|
|
When the asp.net page is loaded in mozilla browser all the controlls are disabled.I need to enable the controls when the page is loading?
Give me any suggestions..
Nithiyanandhan.S
With regards
Nithiyanandhan S
|
|
|
|
|
nithy_karthik wrote: When the asp.net page is loaded in mozilla browser all the controlls are disabled
Are those controls visible in IE ?
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Yes all the controls are visible in IE
With regards
Nithiyanandhan S
|
|
|
|
|
Hi there
Can anyone help me, i am trying to design a function that check if a user logged on to the app_ and then if he/she did then prohibit them from logging in twice in a set amount of time.
If anyone can help me i would be most greatfull.
Thanks in advance.
living life on the flip side
|
|
|
|
|
Put one more field count (attempts) in database table where you are storing credentials of user. Make changes in that count
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Thanks alot for your help, it is much appretiated
THANK A TON!!
living life on the flip side
|
|
|
|
|
Public Function GetLoginStatus() As Boolean
return Context.User.Identity.IsAuthenticated
End Function
Regards J O H N
"Even eagles need a push." David McNally
|
|
|
|
|
Sir,
I have an asp.net application that uses log4net for logging purpose. And i want to integrate my application with the other asp.net application i.e. host application. the problem comes here i want to log both application in two different log files.
(This is a integrated environment)
How can i solve this , plz help me out.
Thanks in advance
Ravindra
|
|
|
|
|
i want to create security image and use it in my website registration.
i create that image on fly but cant place it in the part of page.
i can use response.binarywrite(imagestream) but in this method, all of controls will be lost and only image is visible
i want insert the created image in between DIV tag in part of page
We Can Do Anything, If We Want It
|
|
|
|
|
Abolfazl Sheikhloo wrote: response.binarywrite(imagestream) but in this method, all of controls will be lost and only image is visible
Response.Binarywrite(imagestream) will write the imagestream contents to the client. Obviously other controls in the page will be lost and Image will be dispalyed.
Abolfazl Sheikhloo wrote: i want insert the created image in between DIV tag in part of page
If you want the Image to be dispalyed in the page along with the page contents then create a seperate page to display the Image, put all your Image display code in that page and then as per your requriement add a Image control Inside the DIV tag in your actual page and then set the ImageUrl property of the Image control to ImageDisplay Page. something like this....
<-asp:Image id="Image1" runat="server" ImageUrl="ImageDisplay.aspx"></asp:Image>
Regards J O H N
"Even eagles need a push." David McNally
|
|
|
|
|
Point the URL of your image tag at another ASPX page. For this new ASPX page, set the content type of the Response to be one of the MIME image content types e.g. image/jpeg and use Response.BinaryWrite to stream back the data for the image as you are already doing.
Paul Marfleet
|
|
|
|
|
Hi,
We have a wbservice that converts any doucment to pdf format, internally we used novapdf printer driver for the conversion process.
The application using the web service works fine with word, excel, txt and rtf formats.
HOwever there is a problem with ppt, When trying to upload and convert a ppt document an error is being thrown. What could be the problem?
The error is as follows:
System.IO.FileNotFoundException: File or assembly name office, or one of its dependencies, was not found.
File name: "office"
at NovaPDFWebService.ConverterService.PPointtoPDF(String strPath)
at NovaPDFWebService.ConverterService.ConvertToPDF(String strPath, String strExtention) in c:\inetpub\wwwroot\novapdfwebservice\converterservice.asmx.cs:line 212
at NovaPDFWebService.ConverterService.ConvertToPDF(String fileName, Int32 fileSize, Byte[] fileBytes) in c:\inetpub\wwwroot\novapdfwebservice\converterservice.asmx.cs:line 131
=== Pre-bind state information ===
LOG: DisplayName = office, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c
(Fully-specified)
LOG: Appbase = file:///c:/inetpub/wwwroot/NovaPDFWebService
LOG: Initial PrivatePath = bin
Calling assembly : NovaPDFWebService, Version=1.0.2827.34780, Culture=neutral, PublicKeyToken=null.
===
LOG: Publisher policy file is not found.
LOG: No redirect found in host configuration file (C:\WINNT\Microsoft.NET\Framework\v1.1.4322\aspnet.config).
LOG: Using machine configuration file from C:\WINNT\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
LOG: Post-policy reference: office, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/novapdfwebservice/51728cb4/606e3667/office.DLL.
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/novapdfwebservice/51728cb4/606e3667/office/office.DLL.
LOG: Attempting download of new URL file:///c:/inetpub/wwwroot/NovaPDFWebService/bin/office.DLL.
LOG: Attempting download of new URL file:///c:/inetpub/wwwroot/NovaPDFWebService/bin/office/office.DLL.
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/novapdfwebservice/51728cb4/606e3667/office.EXE.
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporar
gauthee
|
|
|
|
|
the master page should not get flicker while navigate to its content pages
|
|
|
|
|
jagadee wrote: the master page should not get flicker while navigate to its content pages
Yes, it should. I think that you have misunderstood what a master page is.
A master page is a way to separate content when the page is created on the server. The entire page is still reloaded for every postback, so it doesn't work like a frameset.
---
single minded; short sighted; long gone;
|
|
|
|
|
Use AJAX[^]
Regards J O H N
"Even eagles need a push." David McNally
|
|
|
|
|
I want to decrease the aspx page size ..How can i do??
|
|
|
|
|
Vanamaindia wrote: I want to decrease the aspx page size ..How can i do??
Size depends on the content it has
|
|
|
|
|
I want to show the aspx as small window how it is?
|
|
|
|