<p>I am receiving a message from a commercial program stating that the "LogMessage" stored procedure is not found.  There does not appear to be a stored procedure called LogMessage in the associated MS SQLServer 2000 database.  What can I do to track down the missing procedure, other than calling the company?</p>

[{'answer_id': 74016, 'author': 'senfo', 'author_id': 10792, 'author_profile': 'https://Stackoverflow.com/users/10792', 'pm_score': 2, 'selected': False, 'text': "<p>The reason you couldn't find it is because it's not there.  Unless you have the original proc, you're going to have to call the company.</p>\n\n<p>Granted, you could take a stab at creating the proc, yourself.  But why bother when somebody already has the original proc?</p>\n\n<p>Is this a fresh install of the commercial product?  If so, this is completely their responsibility.</p>\n"}, {'answer_id': 74531, 'author': 'Jen A', 'author_id': 12979, 'author_profile': 'https://Stackoverflow.com/users/12979', 'pm_score': 1, 'selected': False, 'text': "<p>Occasionally you will also get this message if you do not have permissions to access the stored procedure.  Log in as 'sa' or equivalent to verify that the proc is indeed missing.</p>\n"}, {'answer_id': 185105, 'author': 'rice', 'author_id': 23933, 'author_profile': 'https://Stackoverflow.com/users/23933', 'pm_score': 0, 'selected': False, 'text': "<p>LogMessage seems pretty self-explanatory.  You could probably take a stab at creating one yourself just to see what happens, if you can't easily get the real thing.</p>\n\n<p>Create a new table called LoggedMessages and just insert to the table when the proc is called.  Then see what pops in.</p>\n\n<p>Kind of hacky, but given that it's a logging mechanism, which is tangential to the main features of the app, you could give it a try.</p>\n"}, {'answer_id': 3419417, 'author': 'MatthewMartin', 'author_id': 33264, 'author_profile': 'https://Stackoverflow.com/users/33264', 'pm_score': 0, 'selected': False, 'text': "<p>Well, if the company is out of business, unhelpful, etc, or your in a hurry, then attach a SQL trace, look at what kind and how many parameters are being passed and create a stored procedure with that name and signature.  It may take some experimentation to get the signature right dependening on the data access API being used.  The body of the stored procedure would be empty.  Since this is just logging, presumably this will let the rest of the app run, but logging would be off.</p>\n\n<p>Make sure that the rest of the schema is there. Obviously if the entire schema is missing, then this trick won't work.</p>\n\n<p>If you have a maintenance agreement with the vendor go holler at them, that's what maintenance  and support is for.</p>\n"}]
['https://Stackoverflow.com/questions/73988', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/-1/']