Can't use Encrypt Connection String Details using webparts
I am using your own encrption and decryption methods classes. I have encrypted Server, User Id, password details of the connection string in web.Config file. I have used webparts and I am unable to decrypt the connection details where I have used webparts as it is connecting the DB first and then runs the user controls in webpart zone.
It is displaying error
The network path was not found
on the pages where I have used webparts. Can anybody help out as I unable to get the solution of this.
Thanks
Harshil Vyas.