Error Number 5151
'5151' message DS Forums RegisterFAQToday's PostsSearchRules My DS Account No account yet? Create one now!OR Login with Digital Spy account Help with Run-time error '5151' message Search Forums Show Threads Show Posts Advanced Search Go to Page... Thread Tools Search this Thread 01-11-2010, 21:19 #1 waltermcculloch Forum Member Join Date: Oct 2006 Posts: 242 Help with Run-time error '5151' message Hi, Got a problem with a Word Template trying to use at work. It's linked into our system and merges information into the template. I work on a network. The message is headed up Microsoft Visual Basic and the message reads as follows: Run-time error '5151': Word was unable to read this document. It may be corrupt. Try one of the following: *Open and Repair the file. *Open the file with the Text Recovery converter. I had problems before but I think all I had to do was untick the Read Only property of the file/template. This is a new template since I last had this problem. I've tried that and still get the above message. I got the person sitting opposite me to try it and it worked on her PC - checked Word etc and can't see any different in the settings/security. Does anyone have any idea what the problem could be? If you need any other details about the problem just ask. Thanks waltermcculloch View Public Profile Find More Posts by waltermcculloch Please sign in or register to remove this advertisement. 02-11-2010, 08:56 #2 waltermcculloch Forum Member Join Date: Oct 2006 Posts: 242 When you click on the Debug button, the following section is highlighted. Documents.Add Template:=TemplateType$, newtemplate:=0 Not sure if this helps waltermcculloch View Public Profile Find More Posts by waltermcculloch 02-11-2010, 09:13 #3 IvanIV Forum Member Join Date: May 2006 Posts: 24,845 It cannot open the template file. Do you know which one? You could try to doubleclick it to see if Wo
soon) Ruby (coming soon) Getting Started Code Samples Resources Patterns and Practices App Registration Tool Events Podcasts Training API Sandbox Videos Documentation Office Add-ins Office Add-in Availability Office Add-ins Changelog Microsoft Graph API Office 365 Connectors Office 365 REST APIs SharePoint Add-ins Office UI Fabric Submit to the Office Store All Documentation https://www.yammer.com/ http://feeds.feedburner.com/office/fmNx Ask a question Quick access Forums home Browse forums users FAQ Search related threads Remove From My Forums Answered by: Export to a word template - Error 5151 Microsoft Office for Developers > Access for Developers Question 0 Sign in to http://forums.digitalspy.co.uk/showthread.php?t=1379706 vote Hello I'm trying to export some data to a MS word template. however I'm getting the following error when I click on the form to export the data. Please see the code behind the button and the function to do the export. Private Sub LetterButton_Click() Dim TempString As String TempString = Parent![Fullname] & Chr$(13) & Chr$(10) _ & [Add1] & Chr$(13) & Chr$(10) https://social.msdn.microsoft.com/Forums/office/en-US/142851ad-9250-4e33-8290-cf597611d0f5/export-to-a-word-template-error-5151?forum=accessdev _ & IIf(IsNull([Add2]), "", [Add2] & Chr$(13) & Chr$(10)) _ & IIf(IsNull([Add3]), "", [Add3] & Chr$(13) & Chr$(10)) _ & IIf(IsNull([Town]), "", [Town] & Chr$(13) & Chr$(10)) _ & IIf(IsNull([Pcode]), "", [Pcode] & Chr$(13) & Chr$(10)) _ & IIf(IsNull([County]), "", [County] & Chr$(13) & Chr$(10)) _ & IIf(IsNull([Country]), "", [Country]) Call MergeTextToWord(TempString, "AA-letter") End Sub ''''''''''''''''''''''''''''''''''''''''''''''''''''''' Sub MergeTextToWord(OutText As String, templateName As String) On Error GoTo MergeError Dim objWord As Object Dim x As Variant Dim TplPath As String Dim dbs As database Set dbs = CurrentDb TplPath = dbs.Name TplPath = ExstractPath(TplPath) TplPath = TplPath & templateName Set objWord = GetObject(, "Word.Application") With objWord .Visible = True .Documents.Add TplPath .ActiveDocument.Bookmarks("InsertData").Select .selection.Text = OutText End With Set objWord = Nothing AppActivate "Microsoft Word" Const SWP_NOSIZE% = &H1 Const SWP_NOMOVE% = &H2 x = FindWindow(0, "Microsoft Word") SetWindowPos x, 0, 0, 0, 0, 0, SWP_NOSIZE Or SWP_NOMOVE SendKeys "{DOWN 3}" Exit Sub MergeError: If Err.Number = 429 Then CreateObject ("Word.Application") Resume End If If Err.Number = 5 Then Resume Next MsgBox Err.Number & vbCr & Err.Description Exit Sub End Sub Function ExstractPath(tPath As String) As String Dim PosN As Long Dim invString, buffStrin
Thread: Can't Start The Game, Error #5151:5 Thread Tools Show Printable Version Email this Page… Subscribe to this Thread… http://forums.riftgame.com/technical-discussions/tech-support/431689-cant-start-game-error-5151-5-a.html Search Thread Advanced Search Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode 07-11-201411:39 AM #1 SneakyJ Soulwalker Join Date Jul 2014 Posts 1 Can't Start The https://knowledge.safe.com/articles/465/unable-to-connect-to-database-after-upgrading-to-a.html Game, Error #5151:5 Ever since Glyph was added in I have had trouble starting Rift. When I start Rift through Steam or when I run Glyph as Admin from error number my games folder a window and completion bar pops up saying "Installing Glyph." Once that finishes another window pops up and gives me the error. "Error #5151:5" it worked yesterday by running Glyph as admin but today it does not. I have tried starting the game every possible way I can think of, not running/running as Admin, and error number 5151 turning of my firewall and antivirus. Any ideas what is wrong or what I could try? 07-11-201401:12 PM #2 Flanngals Soulwalker Join Date Jul 2014 Posts 1 im having the same problem.. sucks i just started playing rift again and im addicted ! 07-12-201412:21 AM #3 TouchofDeath Soulwalker Join Date Jul 2014 Posts 2 Im having the same problem when it launches the client it downloads and update, but when it says its installing it the update stops for some 5151:5 error. I donno if repairing the glyph launcher would work but some 1 els did it so maybe you should give that a shot (im going to). Edit: might wanne check this thread http://forums.riftgame.com/technical...ll-sudden.html ;) Last edited by TouchofDeath; 07-12-2014 at 12:24 AM. 07-12-201412:33 AM #4 Fasti Community Manager Join Date Mar 2013 Posts 2,070 Make sure to go through our full list of steps for Glyph troubleshooting, then let us know if you are still having trouble. In general error numbers like this one (5151) are Windows errors, so you
in Home / *FME Desktop / Home / Unable to Connect to Database After Upgrading to ArcSDE 10.1 or Above Export to PDF MitaAtSafe created · Oct 08, 2015 at 07:13 PM · AnnabelleAtSafe edited · Oct 28, 2015 at 09:21 PM Article created with FME Desktop 2012 SymptomAfter upgrading ArcGIS software to 10.1 and above, a workspace using an SDE format can no longer connect to the database and will cause the translation to fail. 2014-11-04 13:56:15| 2.7| 0.0|ERROR |Could not open the Enterprise Geodatabase. The error number from ArcObjects is: '-2147216023'. The error message from ArcObjects is: {Server machine not found} 2014-11-04 13:56:15| 2.7| 0.0|ERROR |Please ensure the connection parameters are correct (server=`myServer', instance=`port:5151', user=`sde', password=`*******', database=`sde', version=`SDE.DEFAULT') Note: You can tell if a three-tier connection is being used by a 'port' being specified in the instance parameter.For Example: instance=`port:5151' Cause Any FME workspaces with the ESRI ArcSDE or Esri Geodatabase (ArcSDE Geodatabase) reader/writer will no longer be able to connect to ArcSDE 10.1 if they were set up using a three-tier connection: As of ArcSDE 10.1 there is no longer an SDE service running on port 5151 by default. ResolutionThere are 2 options: 1) Change the reader/writer parameters to use a two-tier (direct connect) connection. Details can be found here: http://fmepedia.safe.com/articles/FAQ/How-do-I-connect-to-my-ArcSDE-Geodatabase-using-Direct-Connect 2) Install the Application Server Services software on the ArcSDE server. This will bring back the ArcSDE service and allow the three-tier connection to work. This service must be manually installed using ArcSDE administration commands. Details can be found under “Application Server Services” here: http://blogs.esri.com/esri/supportcenter/2012/03/27/where-did-the-arcsde-post-installation-wizard-go-at-10-1/ For further information on the interaction between FME and the Esri products refer to our Compatibility page. thub.nodes.view.add-new-comment geodatabaseinstallationauthenticationarcsde Add comment 10 |1200 characters needed ch