cancel
Showing results for 
Search instead for 
Did you mean: 

accidently deleted tables

Former Member
0 Kudos

Hi all,

Let me explain my problem.....

I created 2 data table by using Add on in .NET 2005....

After this some how i deleted these 2 tables manually from SQL Server....

and then I cleared their entry from OUTB table

Now in any add on while trying to connect comapny database by

ocompany.connect()

i am getting following error...

"Attempted to read or write protected memory. This is often an indication that other memory is corrupt."

How could i overcome this problem???

Help me......

Thank you...

Rajesh

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Rajesh,

You didnt mention deleting the User fields related to those tables. Their entries are in the CUFD Table. Try removing them as well and then restart the lisence server and SAP.

Hope it Helps

Regards

Rizwan Hafeez

Team Lead

SAP Addon Development Section

Abacus Consulting - Pakistan

Former Member
0 Kudos

Thanks Rizwan Hafeez

It perfectly worked for me....

Thanks a lot

Answers (1)

Answers (1)

Gianluigi
Product and Topic Expert
Product and Topic Expert
0 Kudos

You shouldn't have deleted these table with SQL Server. You must use DI API

metadata objects UserTablesMD. If you did that you wouldn't have corrupted

your database.

This is one of the many reasons why direct access to SQL server is forbidden and

why solution certification guidelines expressly check against this.

Former Member
0 Kudos

Thanks Gianluigi

Infact i am new to SAP B1 so i did that.

Now i will make sure that will not happen in future.