It turned out to be a kernel error when domain license is activated and more than 1023 users in userinfo. MBS already was aware of the error, and had already fixed it in a kernel hotfix to SP3 and in SP4. Installing the kernel HF solved my problem.
Regards
Jan
Fujitsu
________________________________
Fra: [email protected] [mailto:[EMAIL PROTECTED] På vegne af Dahlsgaard Jan
Sendt: 6. oktober 2005 15:58
Til: [email protected]
Emne: SV: [development-axapta] Error when selecting in userinfo
I've done some more research, and the problem seems to be linked to domain license. If there's a domain license, select's in userinfo (e.g. select userinfo where userinfo.id == curuserid()) produces the weird select with the 'ID IN' clause. If there's no domain license the 'ID IN' clause is not part of the select. I've previously stated that the number of ? in the 'ID IN' clause was less than the amount of users in userinfo. This is not true. There's exactly as many ? as users.
________________________________
Fra: [email protected] [mailto:[EMAIL PROTECTED] På vegne af Dahlsgaard Jan
Sendt: 5. oktober 2005 17:22
Til: [email protected]
Emne: SV: [development-axapta] Error when selecting in userinfo
After further studies, the problem occurs with 1024 users in userinfo table. 1023 is ok, 1024 or more and I get this error. The funny thing is, at another customer they have more than 1800 users, and haven't seen this problem.
Any input would be appreciated
Regards
Jan
Fujitsu
________________________________
Fra: [email protected] [mailto:[EMAIL PROTECTED] På vegne af Dahlsgaard Jan
Sendt: 4. oktober 2005 16:39
Til: [email protected]
Emne: [development-axapta] Error when selecting in userinfo
Hi
I often gets this error, and I get it from kernel methods as well:
SQL-Error: [Microsoft][ODBC SQL Server Driver][SQL Server]Line 1:
Incorrect syntax near 'A??@'.
SQL-Statement: SELECT
A.ID,A.NAME,A.ENABLE,A.STARTUPMENU,A.STATUSLINEINFO,A.TOOLBARINFO,A.DEBU
GINFO,A.AUTOINFO,A.AUTOUPDATE,A.GARBAGECOLLECTLIMIT,A.HISTORYLIMIT,A.MES
SAGELIMIT,A.GENERALINFO,A.SHOWSTATUSLINE,A.SHOWTOOLBAR,A.DEBUGGERPOPUP,A
.SHOWAOTLAYER,A.PASSWORD,A.OSACCOUNTNAME,A.STARTUPPROJECT,A.CONFIRMDELET
E,A.CONFIRMUP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?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?
,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?
,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?
,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?
,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?
,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?
,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) ) AND
(ID=?)) OPTION(FAST 2)
There is 1106 '?' in the 'IN IN' statement. It sonehow appera to be
connetec to curuserid() function. Any ideas ? I have already
synchronized, compiled and deleted aoi-file. When a new user is
inserted, one more '?' is added to the statement, but the 1106 ?s is 3-4
less than the amount of records in userinfo.
Regards
Jan Stelsig Dahlsgaard
Fujitsu DK
[Non-text portions of this message have been removed]
SPONSORED LINKS
Computer part <http://groups.yahoo.com/gads?t=ms&k=Computer+part&w1=Computer+part&w2=Programming+languages&w3=Microsoft+axapta&w4=Support+exchange&c=4&s=90&.sig=yLpvcLTIDJ5FTkRJGsO11w> Programming languages <http://groups.yahoo.com/gads?t=ms&k=Programming+languages&w1=Computer+part&w2=Programming+languages&w3=Microsoft+axapta&w4=Support+exchange&c=4&s=90&.sig=cuhEClK4dU4wapXFmKisbQ> Microsoft axapta <http://groups.yahoo.com/gads?t=ms&k=Microsoft+axapta&w1=Computer+part&w2=Programming+languages&w3=Microsoft+axapta&w4=Support+exchange&c=4&s=90&.sig=yfeG_U6QaLfPOZZIud02Fg>
Support exchange <http://groups.yahoo.com/gads?t=ms&k=Support+exchange&w1=Computer+part&w2=Programming+languages&w3=Microsoft+axapta&w4=Support+exchange&c=4&s=90&.sig=hy8yRGMzrmxdphyITTUeqA>
________________________________
YAHOO! GROUPS LINKS
* Visit your group "development-axapta <http://groups.yahoo.com/group/development-axapta> " on the web.
* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
* Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> .
________________________________
[Non-text portions of this message have been removed]
________________________________
YAHOO! GROUPS LINKS
* Visit your group "development-axapta <http://groups.yahoo.com/group/development-axapta> " on the web.
* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
* Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> .
________________________________
[Non-text portions of this message have been removed]
SPONSORED LINKS
Computer part <http://groups.yahoo.com/gads?t=ms&k=Computer+part&w1=Computer+part&w2=Programming+languages&w3=Microsoft+axapta&w4=Support+exchange&c=4&s=90&.sig=yLpvcLTIDJ5FTkRJGsO11w> Programming languages <http://groups.yahoo.com/gads?t=ms&k=Programming+languages&w1=Computer+part&w2=Programming+languages&w3=Microsoft+axapta&w4=Support+exchange&c=4&s=90&.sig=cuhEClK4dU4wapXFmKisbQ> Microsoft axapta <http://groups.yahoo.com/gads?t=ms&k=Microsoft+axapta&w1=Computer+part&w2=Programming+languages&w3=Microsoft+axapta&w4=Support+exchange&c=4&s=90&.sig=yfeG_U6QaLfPOZZIud02Fg>
Support exchange <http://groups.yahoo.com/gads?t=ms&k=Support+exchange&w1=Computer+part&w2=Programming+languages&w3=Microsoft+axapta&w4=Support+exchange&c=4&s=90&.sig=hy8yRGMzrmxdphyITTUeqA>
________________________________
YAHOO! GROUPS LINKS
* Visit your group "development-axapta <http://groups.yahoo.com/group/development-axapta> " on the web.
* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
* Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> .
________________________________
[Non-text portions of this message have been removed]
YAHOO! GROUPS LINKS
- Visit your group "development-axapta" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

