I learned many thing but forgets many things too. Writing a simple blog as a journal is a good start to keep what I've learned.
I'm using Microsoft Visual Studio with Visual Basic as my language.
Showing posts with label error. Show all posts
Showing posts with label error. Show all posts
Monday, February 19, 2018
Asp.net Type 'Web User Control" is not defined.
Problem with intellisense in Visual Studio 2017 when adding a Web User Control dynamically.
To solve this problem, just try registering your control at the page you are adding it to.
Monday, May 23, 2016
Trouble renaming IIS Website.
I have a web server. IIS on Windows Server 2008 R2. It'a a production server which runs many applications for my company.

Every time I open the IIS Manager I can see that "Defaults" as the name of my website. It really itch my eyes for month. But today I decided to change the name to something else.I think about name it the same as the domain name. So I try right-clicking the "Defaults". Owh, there's a "rename". Maybe I should try it.

Every time I open the IIS Manager I can see that "Defaults" as the name of my website. It really itch my eyes for month. But today I decided to change the name to something else.I think about name it the same as the domain name. So I try right-clicking the "Defaults". Owh, there's a "rename". Maybe I should try it.
Tuesday, May 17, 2016
OLEDB error. "Operation must use an updatable query."
At one time I published a web project that used OLEDB to connect to Ms Access and update some data I got an error "Operation must use an updatable query."
Some googling reached me on this site: “Operation must use an updateable query” error in MS Access
The chosen as answer doesn't really solve my problem. but the second answer really solve it.
The Answer:
Some googling reached me on this site: “Operation must use an updateable query” error in MS Access
The chosen as answer doesn't really solve my problem. but the second answer really solve it.
The Answer:
There is no error in the code, but the error is thrown due to the following:
- Please check whether you have given Read-write permission to MS-Access database file.
- The Database file where it is stored (say in Folder1) is read-only..?
suppose you are stored the database (MS-Access file) in read only folder, while running your application the connection is not force-fully opened. Hence change the file permission / its containing folder permission like in
C:\Program files all most all c drive files been set read-only so changing this permission solves this Problem.
So I change the permission on my folder (App_Data) that stored my Ms Access database to full control.
Problem solved.
Subscribe to:
Posts (Atom)