Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics SL (Archived)

Upgrading SL addon screen

Posted on by Microsoft Employee

I have a particular problem I can't find a solution for. Basically I am trying to port add-on screens from SL7 to SL2011.I have recompiled all the executables (upgrading the VS projects, that goes without saying) without problems. My problem is that I cannot run them because they fail with the message on call of stored procedure GLSetup_All with a parameter that is unexpected.I used SQL profiler and it revealed that there is a call of: "EXEC GLSetup_ALL DEFAULT" when the screen is run.  Has anyone come across this.  

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: Upgrading SL addon screen

    Thank you to all.  This is now resolved.  Trim did the trick.

  • Barry Flynn Profile Picture
    Barry Flynn 3,090 on at
    Re: Upgrading SL addon screen

    Peter

    If this is still an issue...

    I've just come across a comment in one of my programs where I had a similar problem (and which I had totally forgotten about.)

    I had the word unwanted word DEFAULT magically appearing when I ran some of my SQL.

    The cure I found was to Trim the variable containing the SQL.

    Dunno if that has any relevance...

    Barry

  • Re: Upgrading SL addon screen

    Hi Peter,

    We tested a plain VBTools app and it called GLSETUP_PERIOD but does not call GLSetup_All.   So that must be called by your code.   So somewhere in the code you are probably calling GLSETUP_ALL and trying to pass it some sort of parameter, but that proc doesn’t want a parameter.  

    Hope this helps.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans