Microsoft Dynamics Support Forum Index Microsoft Dynamics Support
Visit the Microsoft Dynamics newsgroups and exchange ideas with a community of business professionals and product experts from around the globe.
 
   ProfileProfile   Log in to check your private messagesLog in to check your private messages  |  FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups Log inLog in   RegisterRegister 

excel 2000
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Microsoft Dynamics Support Forum Index -> Microsoft Dynamics AX Database
Author Message
server
Guest





PostPosted: Sat Jan 13, 2007 6:48 am    Post subject: excel 2000 Reply with quote

message unavailable
Back to top


john
Guest





PostPosted: Sat Jan 13, 2007 6:48 am    Post subject: re: excel 2000 Reply with quote

thank you for your time, i received help last night but i did not rate the
person who did help me..

i have over 400 rows of different products and 5-8 different collums of
suppliers.
iwould like to be able to enter the prices of each supplier and for excell
to highlight the cheapest price automaticaly.

the person who answered last night was a great help with the formula of
=A1=MIN($A$1:$A$5)
and then format the font and cell color......
but how can i move that conditional format down all 400 rows with out having
to do each row at a time? thank you for your time!! john
Back to top
Søren Rasmussen
Guest





PostPosted: Thu Jan 18, 2007 7:46 pm    Post subject: Re: Dynamics Server$01-Company1 Reply with quote

Did you let the Dynamics AX setup create the database? That does the security
setup of the database for you.

..søren

"Ralph" wrote:

Quote:
appreciate the feedback. I checked the events and receive following errors:

1. Failure audit; login failed for user
2. Object Server dynamics fatal SQL condition during login; can not open
database
3. SQL diagnostics; Can not open database by the login

I checked SQL Studio where I can not find any issues, reviewed database
Security, Roles, Schemas. Checked Security logins and Server Roles and
checked system table dbo.USERINFO. Everything seems normal.

I also tried the .bat file but this does not seem to resolve my issue. Not
sure if anyone else has some ideas? I still find it strange that when system
is running and start the service manually no issue occurs. Your help is
appreciated

"Trevor" wrote:

In addition to Bill's comments:

What might be happening is that the AOS service could be trying to start
prior to MSSQL starting, and the service is dependent on MSSQL running.

Try the following:
Create a BAT in the start-up folder file of the opsys with the following
contents:

net start MSSQLSERVER
net start <SERVICENAME


"Bill Thompson" wrote:

Hello,
First step is to look in the Event Viewer and see if the AOS is issuing
any error messages. By looking at the Application Event log, it may
point out error messages that will aid in determining what is going on
in the system.

Thanks,
--
Bill 'Luther' Thompson
Microsoft Online Support Engineer - MBS Dynamics AX Developer Support

=============================================
When responding to posts, please "Reply to Group" via your newsreader
so that others may learn and benefit from your issue.
=============================================
This posting is provided "AS IS" with no warranties, and confers no
rights.


Ralph wrote:

Hi, after installing my MS AX 4.0 using SQL server 2005, my AOS will
not start automatically. how can I resolve this issue? initially the
Service would not start at all. after changing the security to
db_owner for both NTAUTHORITY and PCUSER, I managed to launch the
application, although the issue remains of the service not wanting to
start automatically, hence needing to manually start the service
before launching MS AX (service is set to auto start). Hope someone
can be of any assistance. Thanks
Back to top


Søren Rasmussen
Guest





PostPosted: Sat Jan 20, 2007 2:29 am    Post subject: Re: AxDBUpgrade.exe fails on creating AXOLDTONEWRECIDS Reply with quote

Now I get the message below when trying to start the AOS-service afterwards.
It generates the index files without problems.

The error message in the eventlog is as follows:
"Object Server 03: Dialog issued for client-less session 1: While
synchronizing table 'SQLDICTIONARY', the layout of the table in the
SQL database appeared to be incompatible with the Microsoft Dynamics data
dictionary.
The name of the table in the database is 'SQLDICTIONARY'. This mismatch can be
caused by importing table definitions from an XPO file during test or
development,
or even by copying and overwriting the entire AOD file.

If you choose to, Microsoft Dynamics can drop the mismatching table to allow
the creation
of the 'SQLDICTIONARY' table, as it should appear according to the Microsoft
Dynamics data dictionary.

Contents of the 'SQLDICTIONARY' are: The table contains records.

Do you want to drop the table and continue?"

So I tried deleting the table SQLDictionary. Then I got an error on the
following tables which I all deleted: SQLStorage, SystemSequences,
SysRecordLevelSecurity and SysEncryptionKey. I know it's not quite best
practice but I had to do something. After doing this I'm now stuck on

"Object Server 03: Dialog issued for client-less session 1: [Microsoft][ODBC
SQL Server Driver][SQL Server]There is already an object named 'I_65497RECID'
in
the database. [ALTER TABLE SYSENCRYPTIONKEY ADD CONSTRAINT I_65497RECID
PRIMARY KEY CLUSTERED (RECID) ] "

Help......!


"Bill Thompson" wrote:

Quote:
Hello,
I believe that this is a known issue (FRx created a table or 2 with
identity columns and causes this to fail). Here is what we have
generally done to get around this issue in support:

1. Have a FULL Working backup of the 3.0 database AFTER all preparation
processes are complete (the steps just prior to doing the update tool).
2. Delete the table with the column from the database you are going to
be updating (we still have the table in the full backup mentioned in
step 1).
3. Use the upgrade tool to push the data to the new 4.0 database.
4. Recreate the offending table in the new 4.0 database.
5. DTS the data from the backup 3.0 database table into the newly
created 4.0 database table.
6. Launch 4.0 and proceed with the data update.

Good luck with the rest of the update.
--
Bill 'Luther' Thompson
Microsoft Online Support Engineer - MBS Dynamics AX Developer Support

=============================================
When responding to posts, please "Reply to Group" via your newsreader
so that others may learn and benefit from your issue.
=============================================
This posting is provided "AS IS" with no warranties, and confers no
rights.


Søren Rasmussen wrote:

The job fails on creating table AXOLDTONEWRECIDS. When running the
script on the server the error issues is that you cannot default a
value on a field with the IDENTITY flag.
I tried creating the table manually on the SQL server but it looks
like the AxDBUpgrade.exe deletes the table next time the job is run.

How do I proceed from here?

The setup is 2 Windows 2003 servers for Dynamics AX and SQL 2005. The
source is a SQL 2000 on a Windows 2000 server.

.søren
Back to top


Roger Lindkvist
Guest





PostPosted: Fri Jan 26, 2007 1:55 am    Post subject: Re: Copying Data Between Companies Reply with quote

Duplicate function normally works very well. Do not use DAT company because
this company is used to keep company independent data for all companies.
Another problem source could be if you are using shared tables in virtual
companies. Then the duplicate function can run into problems. There was also
a data problem with mixed up company id's (dataarea) between the copied and
original company but that problem has been solved in later versions.

Another issue with duplicate function is that it copies all registers not
only parameter and master data registers but also transaction register. So it
is good for test transactions and problem solving.
--
Roger Lindkvist


"Stan F Vaninger" wrote:

Quote:
Thanks very much for you reply.

I should have mentioned in my original post that we have tried the Duplicate
functionality several times always with unfortunate results. The duplicate
functionality apparently does not copy any setup data which we want to do. We
want to use one company to enter all setup information and basic data and
periodically copy that company to a second one to use for testing and
training. We would like to avoid trying to remember to update both companies
every time we have to make setup changes which at times has been quite
frequent.

Any thoughts?
--
Stan


"glibs" wrote:

Take a look at Duplicate function in Administration\Company accounts.


Back to top
Brian
Guest





PostPosted: Fri Jan 26, 2007 5:27 am    Post subject: RE: Copying Data Between Companies Reply with quote

Stan,
I am wondering if you had been able to get the answer you're looking for.
We are also trying to establish a test company with only setup data. We
plan to use this in the manner that you have detailed below. Testing,
training, etc.... If you have any information that would be beneficial I
would appreciate knowing how to proceed.

Thank you,
Brian

"Stan F Vaninger" wrote:

Quote:
What is the 'best practice' and most trouble-free way to copy ALL data from
one company to another (in a single installation)? From what I have learned,
I am inclined to think that using the export/import functionality is best but
I would like to get some confirmation of that or hear of a better way.

If export/import is the way to go, I need some guidance on how to do this.
Can anyone point me to a place in the documentation or the Help file or any
other place where this is written up? Or give me some brief instructions on
how to do this?

Here are some of the specific questions I have about export/import:
1. The export dialog box has five checkboxes. Which of these normally need
to be selected?
2. Likewise the import dialog box has a set of option buttons and five
checkboxes.
3. Are there any tricks or gotchas that would be helpful to know about?

Thanks very much in advance,
Stan
Back to top


Trevor
Guest





PostPosted: Tue Jan 30, 2007 6:06 am    Post subject: Re: Dynamics Server$01-Company1 Reply with quote

Additional Information:

MBS informed us that the problem is more likely to occur when both AOS and
SQL Server are installed on the same machine ( this is not recommended)

Also apparently even though the SQL server is online the DB comes online
according to the order it was created…

One alternative solution is to add dependency on Dynamics Server$01-Company1
service for MSSQLSERVER for the service to consistently start automatically.
However even if it been setup as automatic and the AOS service is failing to
report the ‘failure’ to the Service Control Manager.

Another is by creating a batch file containing:
sleep 60 (you may use a utility to sleep 60 seconds)
net start "Dynamics Server$01-Company1" (starting the service via AutoRun)

under registry
key HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run


As far as I am aware this is a future improvement\fix.




"Trevor" wrote:

Quote:
In addition to Bill's comments:

What might be happening is that the AOS service could be trying to start
prior to MSSQL starting, and the service is dependent on MSSQL running.

Try the following:
Create a BAT in the start-up folder file of the opsys with the following
contents:

net start MSSQLSERVER
net start <SERVICENAME


"Bill Thompson" wrote:

Hello,
First step is to look in the Event Viewer and see if the AOS is issuing
any error messages. By looking at the Application Event log, it may
point out error messages that will aid in determining what is going on
in the system.

Thanks,
--
Bill 'Luther' Thompson
Microsoft Online Support Engineer - MBS Dynamics AX Developer Support

=============================================
When responding to posts, please "Reply to Group" via your newsreader
so that others may learn and benefit from your issue.
=============================================
This posting is provided "AS IS" with no warranties, and confers no
rights.


Ralph wrote:

Hi, after installing my MS AX 4.0 using SQL server 2005, my AOS will
not start automatically. how can I resolve this issue? initially the
Service would not start at all. after changing the security to
db_owner for both NTAUTHORITY and PCUSER, I managed to launch the
application, although the issue remains of the service not wanting to
start automatically, hence needing to manually start the service
before launching MS AX (service is set to auto start). Hope someone
can be of any assistance. Thanks
Back to top
Atamjeet
Guest





PostPosted: Wed Jan 31, 2007 3:11 pm    Post subject: Re: Access externa SQL table from inside Axapta Reply with quote

Thanks Mike,

Your help was really great.

Regards
Atamjeet Singh Bhatia

"Mike Frank" wrote:

Quote:
Try this:

LoginProperty loginProperty = new LoginProperty();
OdbcConnection connection;
Statement statement;
ResultSet resultSet;
;
loginProperty.setDSN('DSN');
loginProperty.setUsername('User');
loginProperty.setPassword('Passsword');

connection = new OdbcConnection(loginProperty);

statement = connection.createStatement();
resultSet = statement.executeQuery('SELECT * FROM SOMETABLE');

while (resultSet.next())
{
// ...
resultSet.getReal(1);
resultSet.getString(2);
// ...
}

Mike
Back to top
Penguin
Guest





PostPosted: Thu Mar 01, 2007 3:47 pm    Post subject: RE: How to use top in stored procedure Reply with quote

In this case, I think that you can use sp_exec system stored procedure to run
an string (e.g

create procedure sp_selectcard
@cardno numeric,@trans numeric
as
exec 'select top '+ convert(string, @trans) +' custid,card_number from
detail_prepaidcard where card_number=@cardno'
....
)
I hope that sample can help u.
Penguin


"Abdul Basith" wrote:

Quote:
create procedure sp_selectcard
@cardno numeric,@trans numeric
as
select top @trans custid,card_number from detail_prepaidcard where
card_number=@cardno

this is my storeprocedure. the question is it does not allow top to be used
with the parameter.. it needs top (n) and not the parameter.
how can i use top in stored procedure
Back to top
Ram
Guest





PostPosted: Thu Mar 08, 2007 7:51 pm    Post subject: RE: Error installing AOS - Ax 4.0 Reply with quote

Hi Jacob, I am facing this same issue. I will appreciate if you can provide
me the details how you corrected this issue. Thanks.

Ram

"jacobn" wrote:

Quote:
Found solution.

DB was installed as Case-Sentitive - I´ve interpret the documentation wrong
(damn!).

Reason for error msg was that Ax tried to executed create statement with
"DBO" but schema name in sql was "dbo".
Back to top


Joseph Patenaude
Guest





PostPosted: Mon Mar 12, 2007 10:08 pm    Post subject: RE: Dynamics Server$01-Company1 Reply with quote

Hello Ralph

The In the Microsoft Dynamics AX Overview / Implementation Guide, Microsoft
best practices suggests using a domain user in the “Log On” for the AX
service. The domain account, on the computer this is running the AOS, should
be at least a member of the “Power Users” local group. It also needs to be
given the db_reader, db_writer and db_ddladmin roles on the Dynamics AX
database. It also has to be added to the “Users” list inside an AX client.

You can also remove the interactive rights of the user inside Group Policy
manager.

Please post here if you need more details

"Ralph" wrote:

Quote:
Hi, after installing my MS AX 4.0 using SQL server 2005, my AOS will not
start automatically. how can I resolve this issue? initially the Service
would not start at all. after changing the security to db_owner for both
NTAUTHORITY and PCUSER, I managed to launch the application, although the
issue remains of the service not wanting to start automatically, hence
needing to manually start the service before launching MS AX (service is set
to auto start). Hope someone can be of any assistance. Thanks
Back to top


Joseph Patenaude
Guest





PostPosted: Mon Mar 12, 2007 10:13 pm    Post subject: RE: Dynamics Server$01-Company1 Reply with quote

I forgot a detail in the Dynamics Database in SQL. The Domain User must also
have the execute rights on the createserversessions and createusersessions
stored procedures.

"Joseph Patenaude" wrote:

Quote:
Hello Ralph

The In the Microsoft Dynamics AX Overview / Implementation Guide, Microsoft
best practices suggests using a domain user in the “Log On” for the AX
service. The domain account, on the computer this is running the AOS, should
be at least a member of the “Power Users” local group. It also needs to be
given the db_reader, db_writer and db_ddladmin roles on the Dynamics AX
database. It also has to be added to the “Users” list inside an AX client.

You can also remove the interactive rights of the user inside Group Policy
manager.

Please post here if you need more details

"Ralph" wrote:

Hi, after installing my MS AX 4.0 using SQL server 2005, my AOS will not
start automatically. how can I resolve this issue? initially the Service
would not start at all. after changing the security to db_owner for both
NTAUTHORITY and PCUSER, I managed to launch the application, although the
issue remains of the service not wanting to start automatically, hence
needing to manually start the service before launching MS AX (service is set
to auto start). Hope someone can be of any assistance. Thanks
Back to top
Thomas Jensen
Guest





PostPosted: Fri Apr 20, 2007 5:22 am    Post subject: RE: Does anyone know what is table 'AXoldtonewrecids' for in Reply with quote

Hi Fred,

AxOldToNewRecIds is not an official AX table but created on the fly when
running the SysRecIdRepair class in AX 3.0. So before using AXDBUpgrade simply
drop the table from the database.

Regards
Thomas

Quote:
Hi Fred,

I don't think this is an official Ax table. If you don't know what
it's used for, then I believe you don't need to copy it into your new
version.

From which version are you upgrading? I assume it must be 3.0, since
you use AXDBUpgrade. But which SP?

If you want to keep the table, it will probably help to create the
tablespace that this table belongs to in your target schema, before
you run AXDBUpgrade.

-Stephanie

"Fred" wrote:

We are running AXDBUpgrade, and keep getting error saying:"No
tablespace for this table".

What is this table for?

Fred
Back to top


Dave Jones
Guest





PostPosted: Sun May 13, 2007 8:25 pm    Post subject: RE: 8542.1 Archiving Reply with quote

There is an add-on tool from Ignify that supports Data Archival for Dynamics AX
http://www.ignify.com/DynamicsAXData.asp

Thanks
Dave

"Support" wrote:

Quote:
Is there a way to Archive my last Year in AXAPTA 3.0 SP1?

technet.navision.com Posting date: Thursday, November 13, 2003

technet.navision.com Posting path: Navision Axapta/Technology (Ax)/Databases (Ax)
Back to top
Dave Jones
Guest





PostPosted: Sun May 13, 2007 8:26 pm    Post subject: RE: 5400.1 Tips for archiving data to reduce database size Reply with quote

Standard Axapta doesn't support this but the Ignify tool supports Axapta Data
archival
http://www.ignify.com/DynamicsAXData.asp
Thanks
Dave

"frankie" wrote:

Quote:
I would like to archive old data from the database to reduce its size without losing it. Is there a standard functionality available in Axapta (2.5 SP3) or MS SQL 2000 (SP2) to do this or do I have to delete the data ? For example : old invoice lines, stock transactions, journal lines, data concerning finished production orders etc.

technet.navision.com Posting date: Saturday, November 09, 2002

technet.navision.com Posting path: Navision Axapta/Technology (Ax)/Databases (Ax)/MS SQL
Back to top


Display posts from previous:   
Post new topic   Reply to topic    Microsoft Dynamics Support Forum Index -> Microsoft Dynamics AX Database All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Powered by phpBB © 2001, 2005 phpBB Group

eXTReMe Tracker