Configure Cisco DHCP for Windows Deployment Service
ip dhcp pool Vlan10
network Network_ID Subnet_Mask
default-router Gateway_IP
dns-server DNS_IP_Addr._1 DNS_IP_Addr._2
next-server WDS_IP_Addr.
option 67 ascii Boot\x86\wdsnbp.com
lease 0 24
Wednesday, December 25, 2013
Monday, December 23, 2013
Windows SDK - Installation failed.
Windows SDK Fails to Installation failed.
When installing the Microsoft Windows SDK for Windows 7 and .NET Framework 4 (Windows 7 SDK), you may see the "Installation Failed" dialog:
To resolve this issue, you must uninstall all versions of the Visual C++ 2010 Redistributable before installing the Windows 7 SDK. You may have one or more of the following products installed:
When installing the Microsoft Windows SDK for Windows 7 and .NET Framework 4 (Windows 7 SDK), you may see the "Installation Failed" dialog:
To resolve this issue, you must uninstall all versions of the Visual C++ 2010 Redistributable before installing the Windows 7 SDK. You may have one or more of the following products installed:
- Microsoft Visual C++ 2010 x86 Redistributable
- Microsoft Visual C++ 2010 x64 Redistributable
How to change server name in Sharepoint "after rename the computer name"
How to change server name in Sharepoint "after rename the computer name":
1- Open CMD as adminstrator.2- Browse "C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN"
3- Type:
stsadm -o renameserver -oldservername <OldServerName> -newservername <NewServerName>
4- To manage alternate access mappings browse the share point administration site:
a. On the top navigation bar, click Operations.
b. On the Operations page, in the Global Configuration section, click Alternate access mappings.
Virtual machine could not initialize.
OS: Windows 2008 R2
Error: "VM name" could not initialize.
Error: "VM name" could not initialize.
Resolution:
1- Install windows 2008 R2 service pack 1
2- Install the following hot fix: http://support.microsoft.com/kb/2517374
Saturday, October 26, 2013
Ax 2009 for Retail: Error when running the P-Job: Error processing the valueset.
Error when running the P-Job: Error processing the valueset. Value count exceeded field count.
Solution:
Re-install the Retail Store Connect.
Solution:
Re-install the Retail Store Connect.
Cisco IOS download
Some of the Cisco IOS's, useful for GNS3 simulator
http://gns3.blogspot.com/2007/10/ios.html
http://startccna.blogspot.com/2012/11/download-cisco-ios-124.html
http://certs4u.info/ciscoios/2600XM%20Routers/Cisco%202600XM%2012.4T/
http://heiserz.com/2013/01/10/cisco-ios-collection-originally-internetwork-operating-system/
You can use command:
C:\"Unpack">unpack.exe --format IOS c2600-is-mz.122-46.bin
Where:
C:\UUNPACK is the path of the unpack tool that downloaded from GNS3 website
http://gns3.blogspot.com/2007/10/ios.html
http://startccna.blogspot.com/2012/11/download-cisco-ios-124.html
http://certs4u.info/ciscoios/2600XM%20Routers/Cisco%202600XM%2012.4T/
http://heiserz.com/2013/01/10/cisco-ios-collection-originally-internetwork-operating-system/
You can use command:
C:\"Unpack">unpack.exe --format IOS c2600-is-mz.122-46.bin
Where:
C:\UUNPACK is the path of the unpack tool that downloaded from GNS3 website
Sunday, September 29, 2013
Error: exception of type System.Data.SqlClient.SqlException was thrown - Sharepoint 2010
Error while installing sharepoint foundation 2010
OS: Windows Server 2008 R2
Database: SQL Server 2012
Error:
Failed to create the configuration database.
An exception of type System.Data.SqlClient.SqlException was thrown. Additional exception information: Could not find stored procedure ‘sp_dboption’.
OS: Windows Server 2008 R2
Database: SQL Server 2012
Error:
Failed to create the configuration database.
An exception of type System.Data.SqlClient.SqlException was thrown. Additional exception information: Could not find stored procedure ‘sp_dboption’.
Solution:
Install Sharepoint 2010 SP1
Tuesday, September 10, 2013
PowerShell Error: “execution of scripts is disabled on this system.”
Type the below command in the root of the power shell to solve it:
Set-ExecutionPolicy RemoteSigned
Thursday, August 1, 2013
Configure Mirorring on SQL 2008 R2
Principal and Mirror are need to be running same version of SQL Server.
Run ALL SQL Server instances with the same domain account.
Run ALL SQL services with the same domain account.
Ensure that TCP/IP was enabled as a protocol on ALL SQL Server.
Start the SQL Browser Service on ALL SQL Servers.
Ensure that Database on Principle Server is in full recovery model.
On Principal Server Perform a Full backup Transaction Log.
Use the backup file to restore database on Mirror Server with NORECOVERY Option.
Configure Security as below:
1- Right-click the database, select “Tasks->Mirror…”
Run ALL SQL Server instances with the same domain account.
Run ALL SQL services with the same domain account.
Ensure that TCP/IP was enabled as a protocol on ALL SQL Server.
Start the SQL Browser Service on ALL SQL Servers.
Ensure that Database on Principle Server is in full recovery model.
On Principal Server Perform a Full backup Transaction Log.
Use the backup file to restore database on Mirror Server with NORECOVERY Option.
Configure Security as below:
1- Right-click the database, select “Tasks->Mirror…”
2- Click “Configure Security”
3- Click Next
4- Select "Yes" if you need a witness server to configure automatic failover and “No” and Click Next. if this case we will select "No"
5- Click Next
6- Set up the Principal first.
7- Connect to the Mirror Server by the domain account.
8- Type the Service Account that run SQL Instance
9- Click Finish
AX 2012 - Reports deployment failed
The deployment was aborted. You do not have privileges to deploy to server: bwircadbridge. For deployment, you must have administrative rights to the SQL Server Reporting Services (SSRS) server. Contact your administrator to deploy.
Solution:
Start the "Remote Registry" service
Restore Ax 2012 demo data
After restoring the demo data in SQL 2008 R2, run the below script:
DECLARE @NetworkDomain nvarchar(255);
DECLARE @NetworkAlias nvarchar(80);
DECLARE @SID nvarchar(124);
DECLARE @InitialPartition bigint;
select @InitialPartition=Recid from PARTITIONS where PARTITIONKEY=N'Initial'
select @NetworkAlias=NETWORKALIAS,@NetworkDomain=NETWORKDOMAIN,@SID=SID from
USERINFO where PARTITION=@InitialPartition AND ID = N'Admin'
UPDATE USERINFO SET
NETWORKDOMAIN=@NetworkDomain,NETWORKALIAS=@NetworkAlias,SID=@SID WHERE
PARTITION != @InitialPartition AND ID = N'Admin'
DECLARE @NetworkDomain nvarchar(255);
DECLARE @NetworkAlias nvarchar(80);
DECLARE @SID nvarchar(124);
DECLARE @InitialPartition bigint;
select @InitialPartition=Recid from PARTITIONS where PARTITIONKEY=N'Initial'
select @NetworkAlias=NETWORKALIAS,@NetworkDomain=NETWORKDOMAIN,@SID=SID from
USERINFO where PARTITION=@InitialPartition AND ID = N'Admin'
UPDATE USERINFO SET
NETWORKDOMAIN=@NetworkDomain,NETWORKALIAS=@NetworkAlias,SID=@SID WHERE
PARTITION != @InitialPartition AND ID = N'Admin'
Wednesday, July 31, 2013
How to activate Windows 8
How to activate Windows 8 Enterprise RTM from TechNet
Open CMD.exe as administrator and type:
slmgr.vbs -ipk "WINDOWS-8-ACTIVATION-KEY"
Open CMD.exe as administrator and type:
slmgr.vbs -ipk "WINDOWS-8-ACTIVATION-KEY"
Ax 2009 - Retail Store Connect Troubleshooting
Error 0 –Error on
sending request
The distribution server for the location has not
been specified in Retail Scheduler.
Possible resolution
Modify the location by specifying the
distribution server for the location (Retail scheduler > Common forms
> Locations).
Error 4096 –Error
inserting in system tables
Retail Store Connect cannot write into the
incoming or outgoing message tables. The tables might be missing, the user that
the service is running as might not have read and write permissions on the
message database, or required fields in the tables could be wrong or missing.
Possible resolutions
Assign db_datareader and db_datawriter
permissions to the SQL login for the user that the Retail Store Connect service
runs as.
Error 4097 –Remote
connection dropped
The TCP/IP connection was terminated while Retail
Store Connect was forwarding a package, or the receiving Retail Store Connect
instance was shut down during the transfer.
Possible resolution
Restore the network connection. If the network
connection is slow or overloaded, consider increasing the TCP/IP timeout for
both Retail Store Connect instances. This is done in Retail Store Connect
Settings.
Error 4098
–Canceled because of send and receive size
The registered size of the package does not match
the actual size of the package. This is most likely caused by a transmission
failure. Retail Store Connect Technical Reference Troubleshooting 12 Possible resolution
Resend the package by running
the Retail Scheduler job again.
Error 4099 –Cannot
find new packet number
Retail Store Connect could not
assign a new package number to an incoming package. This is usually caused by
an incorrect message database configuration in Retail Store Connect Settings
for the receiving instance of Retail Store Connect.
Possible resolution
Confirm that the message
database is configured correctly and the Retail Store Connect user has the
required privileges.
Error 4100 –Cannot
instance a socket
The operating system could not
create a Windows TCP/IP socket. TCP/IP might not be installed or enabled on the
computer.
Possible resolution
Confirm that the TCP/IP protocol
is installed and enabled on the computer. For more information about enabling
TCP/IP, see "Enable remote connections in SQL Server and start the
server" in "Deploy Microsoft SQL Server" in the Deployment
and Installation Guide.
Error 4102
–HopCount has exceeded its maximum value
A package cannot be transferred
because the hop counter for the package has reached the maximum set in Retail
Store Connect Settings.
This error can occur when a
service name is incorrectly assigned to an IP address. It can also be caused by
an inconsistency between the distribution server name for a location and the
actual server name for the instance of Retail Store Connect.
Possible resolutions
Verify
the DNS registration of the server name or its entry in the Hosts files on all
computers involved.
Confirm that the distribution
server name for the location (Retail scheduler > Setup > Store
integration > Retail Store Connect profiles) matches the one in
Retail Store Connect Settings.
Error 8192 –Error
in processing request
An unhandled exception has
occurred while reading or writing to a database. This error is typically not
related to the database connection.
Possible resolutions
Check
the Event Log for more information. Because this error happened on the database
level, it is likely that the database has reported the cause of the error in
the Event Log.
Check for invalid or incorrect
field transfer setup in a subjob.
Retail Store Connect Technical
Reference Troubleshooting 13
Error 12288 –An
error occurred connecting to Retail Store Connect
The Data Client component of
Microsoft Dynamics AX 2009 cannot connect to Retail Store Connect. This error
occurs when the Retail Store Connect service is not running, when the Data
Client is trying to connect to a service that does not exist or does not have a
correct IP address associated with it, or when the Data Client is trying to
connect to Retail Store Connect on an invalid TCP/IP port.
Possible resolutions
Start
the Retail Store Connect service.
Confirm
that the Retail Store Connect service name has an IP address associated with
it. This can be checked from the command prompt by typing ping <Retail
Store Connect computer name>). If the service name does not respond to a
ping command, you must reconfigure your DNS server or Hosts file so that the service
name is associated with the correct IP address.
Verify
that the port numbers match in Retail Store Connect Settings and in the Retail
Store Connect profile.
Verify that IPsec (if enabled)
or the firewall is configured correctly. One way to verify this is to connect
to the Retail Store Connect port using telnet.
Error 12289 –The
connection string was empty
The connection string for the
location has not been provided.
Possible resolution
In Retail Scheduler, verify that
the database profile is configured correctly.
Error 12290 –Could
not log in
Retail Store Connect does not
have the necessary permissions to log on to the specified company.
Possible resolution
Grant access to the Microsoft
Dynamics AX user that is used by Retail Store Connect.
Error 12291
–Connection temporarily unavailable
All sessions (servers) that
Retail Store Connect is allowed to use are unavailable.
Possible resolution
Wait until Retail Store Connect
has released one of the sessions that it is using, or assign more sessions to
Retail Store Connect in Retail Store Connect Settings.
Error 12293
–Cannot load plugin dll
In most cases when this error
occurs, the plugin has been registered and the configuration is correct, but
the path to the plugin .dll file is invalid or the .dll file is missing.
Possible resolution
Uninstall and reinstall the
plugin to correct the registry setting.
Retail Store Connect Technical
Reference Troubleshooting 14
Remove the Retail Store Connect
server and then add it again.
Error 12294
–Plugin version not supported
This version of the plugin
cannot be used with this version of Retail Store Connect. In most cases, the
plugin requires a newer version of Retail Store Connect.
Possible resolutions
Upgrade
Retail Store Connect to the same version as the plugin.
Install the version of the
plugin that matches the version of Retail Store Connect.
Error 12295
–Waiting for a previous package
A previous package belonging to
the same JobID has not been processed successfully. Check the job status to
determine if the job is waiting or if there is a problem with the job.
Possible resolutions
Take
corrective action so that the package is processed successfully.
Cancel the job.
Error 12296 –Error
connecting to a database
Retail Store Connect cannot
connect to the database.
Possible resolutions
If the error occurs when Retail
Store Connect is trying to generate a package, the connection string for the
source database is probably incorrect. Correct the database or AOS profile
configuration, and then test the connection. If possible, test the connection
on the same computer that is running Retail Store Connect to confirm that all
hosts and services are configured correctly.
Error 12305 –Error
while sending package information
Error 12306 –Error
while transferring package
A connection has failed, or the
network is unstable.
Possible resolutions
Retry
the operation.
Check all connections.
Error 16384 –Error
writing file
Error 16385 –Error
creating file
Retail Store Connect cannot
write to the hard disk. The disk might be full, Retail Store Connect might not
have permissions to write to the working directory, or the path to the working
directory (as specified in Retail Store Connect Settings) might be incorrect.
Possible resolutions
Free some space on the disk.
Retail Store Connect Technical
Reference Troubleshooting 15
Confirm
that the process has the necessary permissions to write to the disk.
Confirm that the path to the
working directory is correct.
Error 16386 –Error
reading file
Retail Store Connect was trying
to read a file that does not exist.
Possible resolution
Re-create the file by running
the job again.
Ax 2009 - Replicaton errors
IDispatch error #3119:Violation of PRIMARY KEY constraint 'I_20137STAFFIDX'. Cannot insert duplicate key in object 'dbo.RBOSTAFFTABLE'. 2011-08-16 07:34:53.000 N-1060\
Cause:
The Transfer field list:
(Retail Scheduler/Subjobs/Setup/Transfer Field List)
The Field Type on all To Fields are set to = none
Solution:
Read the fields with store connect from the menu (Retail
Scheduler/Distribution location/Functions) then all field types are restored to
the correct values.
Error no.: 12296 in AXRETAIL MSG DB
Error no.: 12296 in AXRETAIL MSG DB
User don’t have privilege read and write on POS DB
Item cannot be found in the collection corresponding to the requested name or ordinal., table 'RBOSTAFFTABLE': 5637146104,0,0,0,0,0,0,0,0,0,0,,ceu,84374,,0,John,Doe,,1,30,0,0,0,40,0,Admin,4/13/2010 6:57:01 PM,John Evans,JohnE,0758441cBD8C3CE1,PoljiTh
The issue is that the schema of the AxRetailPOS database
if not matching the columns that is in the package file.
Ax 2009 - Reporting extension installation error
You must install SQL server 2005 Reporting Services Service
Pack 2 before installing the report extensions".
Trying
to install reporting extension on SQL Server 2008
Solution:
1. Locate the AX Reporting services dll from the
extracted AX 2009 SP1 folder
[\\AX2009SP1\support\axsetupresources\microsoft.dynamics.setup.reportingservices.dll;File
Version - 5.0.1000.52]
2. Extract the AX 2009 .iso to a shared folder
3. Copy the microsoft.dynamics.setup.reportingservices.dll
into the folder:
\\DynamicsAX\Msi\Components32\Program Files\Microsoft
Dynamics AX\50\Setup
\\DynamicsAX\Msi\Components64\Program Files\Microsoft
Dynamics AX\50\Setup
IIS Active/Passive deployment
After deploying the NLB as described in the following post: http://wiki-tec.blogspot.com/2011/09/iis-and-high-availability.html
- Open Network Load Balancing Manager, right-click the cluster, and then select Cluster Properties. Click on the Port Rules tab. Click Edit
- Select Single host, and then click OK.
Tuesday, July 30, 2013
Ax 2012: Error when open the receipt design on a client machine
PosIs.ReportDesign
(ClassId: PosIs.ReportDesign)
Is not found on the system, please check if the control is correctly installed.
Solution:
Install the retail head quarter component on the client machine
How to change SQL Collation for SQL Server 2008 R2
How to change SQL Collation for SQL Server 2008 R2
"X:\setup.exe" /QUIET /ACTION=REBUILDDATABASE /INSTANCENAME=MSSQLSERVER /SAPWD=<NewStrongPassword> /SQLCOLLATION=SQL_Latin1_General_Cp1256_CS_AS /SQLSYSADMINACCOUNTS="domain\username"
This command will rebuild the master database and all databases will be de-attached.
databases will not be deleted and you can reattach them after installation done.
X: is the path of the SQL source file
Subscribe to:
Posts (Atom)