Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Dotnetnuke 4.6.2 Un-installing sql script does not executes delete statements.

Posted on 2010-11-15
3
Medium Priority
?
310 Views
Last Modified: 2012-06-21
Hi,

I am developing modules on dotnetnuke 4.6.2. Every thing is fine, but there is strange thing happening in un-installing module in un-installation SQL Script.

The script is only executing Drop statements not the Delete statements. The module uses existing tables which are shared among more then one module. Hence i cannot drop tables but required to delete any existing data in those tables. I had created delete script but this never executes when module is deleted (un-installed), but yes drop tables successfully executes.

Thanks in advance.

Pradip
0
Comment
Question by:pradipkkoli
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 6

Expert Comment

by:ErikVB
ID: 34136696
are your statements property seperated by GO statements?

did you check wether the delete statements execute propertly when you execute them manually? (through Host > SQL)

0
 

Author Comment

by:pradipkkoli
ID: 34142713
Yes Go Statements are there in my queries.

Also when this queries are run from Host->SQL or directly in database query windows, in both case the statements are executed successfully.

Please help.

Thanks
Pradip
0
 
LVL 6

Accepted Solution

by:
ErikVB earned 2000 total points
ID: 34182843
i can't help you any further with this, as conflicting things seem to be going on. If the uninstall script fully executes through host > sql, but only partially through module uninstall, something weird must be going on with this specific installation. Did you test whether or not this behaviour also manifests itself on different (clean) installations, on newer dnn versions etc.

What you could do is to contact a DNN expert from the community and have him analyze your installation
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When the s#!t hits the fan, you don’t have time to look up who’s on call, draft emails, call collaborators, or send text messages. An instant chat window is definitely the way to go, especially one like HipChat. HipChat is a true business app. An…
Ready to get certified? Check out some courses that help you prepare for third-party exams.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
Suggested Courses

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question