|
I'm sorry. won't do it in future
|
|
|
|
|
Hi all,
I have my previous application is running on .NET 1.1 (OS - MS SERVER 2003) and I have developed new application on .NET 2.0, so if I install .net freamework 2.0 on server will it create any problem for previous running application?
Because that use .NET 1.1 and I can select .NET 2.0 in ASP.NET in properties of my Virtual Directory website, so will it create any problem for previous running website?
I am new for doing all setup, please any help?
Thanks in advanced.
Snehal.
|
|
|
|
|
Yes, your server can only run one version of the .NET framework, AFAIK.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
So it will create any problem for previous running website which is developed using .NET 1.1 if I install .NET 2.0 for new website?
Thanks a lot
Snehal.
|
|
|
|
|
Hi,
I have installed .NET 2.0 and from ASP.NET tab under IIS Virtual directory I have changed to .NET 2.0 but when I run that website it give still same error, and at bottom I look because it use .NET 1.1, do I need to register manually IIS with .NET?
When It was installing .NET framework I saw the instruction that it is registering IIS, please any help regarding this?
Thanks,
Snehal.
|
|
|
|
|
If it's an ASP.NET 2.0 site, and you set it to run with .NET 2.0, then that should be all you need. You can try asp_regiis.exe, if that doesn't work, nothing will.
What is the error ?
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
Thanks for your reply,
that's correct, I can register iis using asp_regiis.exe and than my site which I developed new will run properly but I am more worried about an existing site which is deployed by some other vendor and it is in .NET 1.1, so it might stop working when I upgrade to .NET 2.0, so do you recommend it will also work in .NET 2.0 without changing any .config in old website?
by the way error is "Unrecognized configuration section 'connectionStrings'" because it still use .NET 1.1 (as I haven't register IIS so) but after register IIS with .NET 2.0 what about existing site?
|
|
|
|
|
snehaljogiya@yahoo.com.au wrote: but after register IIS with .NET 2.0 what about existing site?
I'm not sure how often I can repeat this. Your IIS can only be registed with one version of IIS. Typically, a dev machine would have links to regiis, for each, so the user can switch between them easily. If you're deploying, you need a server for each.
Christian Graus - C++ MVP
'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert
|
|
|
|
|
AFAIK, you can run 2 ASP.Net Applications under different versions of .Net on the same IIS though I may be wrong.
The operative word being "Applcations"
This link will give you the needed information:
Overview of side by side execution[^]
Hope this helps.
Shreekar
|
|
|
|
|
|
Hello, I'm trying to send an encrypted picture with C#.
First I read the picture with a FileStream and get its bytes with this code:
public static byte[] Serializa(string Name)
{
FileInfo FichInfo = new FileInfo(Name);
if (!FichInfo.Exists)
return null;
MyFile = new FileStream(Name, System.IO.FileMode.Open);
BytesContent = new byte[MyFile.Length];
MyFile.Read(BytesContent, 0, (int)Fichero.Length);
MyFile.Flush();
MyFile.Close();
FichInfo = null;
return BytesContent;
}
Then I try to encrypt with Managed Rijndael and it throws an exception with the message "Length of the data to decrypt is invalid".
My code to encrypt is as follows:
public byte[] cifrar(byte[] obj)
{
return cifrador.TransformFinalBlock(obj, 0, obj.GetLength(0));
}
Thank you
|
|
|
|
|
It sounds like you have created a decryptor instead of an encryptor.
---
Year happy = new Year(2007);
|
|
|
|
|
No, I have created both of them because my program needs to encrypt and decrypt data. I use the decryptor to decrypt data and the encryptor to encrypt data.
My program seems to deal ok with strings (I can encrypt and decrypt strings correctly) but the problem comes when I try to encrypt the picture.
|
|
|
|
|
The error message that you quoted refers to decrypting. Are you really sure that you get it when you are encrypting?
Have you checked the length of the array, so that you are not trying to encrypt an empty array?
---
Year happy = new Year(2007);
|
|
|
|
|
Hi,
Im trying to retrieve data from my database in Microsoft Access and input it into the spaces in the checkedlistbox. I also want to ensure whatever that is checked to be reflected into the next form. Can someone help please? Greatly appreciate it..! =)
Nicholas
(Student @ Temasek Polytechnic (SIN))
Nicholas Neo
|
|
|
|
|
You must be more specific.
Generally You acquire your data, insert them in the listbox aw though it was a simple one. Based on acquired data you check or uncheck certain items and then through CheckedItems property you continue on your next step that i didnot understand,.
|
|
|
|
|
Hi! Thanks for replying, I've switched to a listbox instead. I want to add items into the listbox. The items added are coming from my database.mdb I've set the listbox properties Datasource to database.mdb(which is my database name). For the case of the display member I set it to the column that I want to display. For the selection mode it will be multi-simple. I'm actually doing a selection of multiple student IDs to be reflected back into the database when a user selects the IDs that he/she wants. Is my way of doing it right?
Nicholas Neo
Nicholas Neo
|
|
|
|
|
I want to export Crystal report in txt format.and throw it printer.
how to implement using ASP.NET and C#.without reportviewer and no data loss
-- modified at 6:27 Monday 22nd January, 2007
i use Crystal Report 10.I implement export method but output data some text missing.And Alignment is incorrect.
have any class file that Configure Crystal report 10.
|
|
|
|
|
Obviously, that it's ASP.NET is irrelevant, you will do this on the server.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
|
|
|
|
|
i can export crystal report txt format using crystal report 10 dll.but page header,page footer and special field's data not show.
how to solve this
|
|
|
|
|
i am geting config error
Access is denied: 'GotDotNet.Elmah'.
gotdotnet.elmah could not be loaded,
but the reference is added,build succeded butunable to run in browser
PLz send me Slutions
Thanks and regards,
-- modified at 9:52 Saturday 20th January, 2007
surendra
|
|
|
|
|
Hi All,
We are starting a project (.NET/C# DB: SQL Server) and one of the main requirements is performance and reliability (the system is a "critical mission" one).
Could you please indicate articles/books/sites that could help us on:
- Defining the minimum hardware requirements (how many redundant servers should be considered, RAIDs, etc.) based on the expected number of user/requests,ammount of data etc.
- Technologies that could be used in order to support the desired reliability ( distributed services, load balance for example)
Thanks a lot,
Sergio
|
|
|
|
|
Microsoft lists System.Object as a reference type but how a value type like int or bool descends from System.Object?
There's arms,
Caetano
|
|
|
|
|
Caetano wrote: but how a value type like int or bool descends from System.Object
They're not a direct decendant of Object. There's an intervening class, called System.ValueType[^], that overrides the virtual methods in Object and supplies versions that are more appropriate for Value types. The IL for something like System.Int32 says that Int32 is really a structure. Structures decend directly from ValueType.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
hi..
the web pages made with asp.net look fine in internet explorer but with netscape navigator some of the elements behave strangely..
i have a tree control with tables.it loads all data at once in IE (which is how i coded it) but in netscape it refreshes each time i open the parent node ( i dont know why?) and also the tree parent-child positions are distorted in netscape.
so can anyone suggest me how to make my website browser independent
enjoy..
|
|
|
|