YAFLogo

Posted by: paerison - Tuesday, 9 September 2014 03:08:09
I have iis7.5, MSSQL 2012 express, Visual Studio 2013 Express Web YAF installs just fine, but I wanted to add something to the profiles page, so I played with the aspx/ascx thinking it was like asp that I've been used to for years... not so much... so I installed visual studio, github, and cloned it to my desktop. The errors abound with missing DLL references and the like... I would ask "what am I doing wrong" but I think a shorter list might be "what am I doing right" I am only marginally familiar with C# I would presume that it should compile unaltered out of the box any assistance/guidance would be appreciated. Telling me to go to college for C# programming is not useful advice...

Posted by: tha_watcha - Tuesday, 9 September 2014 10:47:59
There are some external libraries which are automatically downloaded via nuget. You need to have the nuget package manager installed, but i'm not sure if it also works with VS Express

Posted by: paerison - Wednesday, 10 September 2014 23:56:16
update, I did get nuget to work and successfully compiled in Express 2013... Sorry for the delay in response. Note: Run the BATCH files from a CMD prompt before opening the solution file

Posted by: paerison - Thursday, 11 September 2014 04:30:33
update to the update... it compiles and runs in the IDE ->> IIS Express/port:xxxx >> http://localhost:50165 when I move the DLLs to the production IIS server, it breaks... nothing I can put my finger on though... With some of the changes to profile and the fact that the alpha filters for member search rung into full screen monstors, it might have something to do there... why wouldn't it work just the same I wonder. I looked at the applicationhost.config from IIS Express, nothing jumped out as being overtly obvious... If anyone has run into this and can save me days of headache, it would be appreciated.

Posted by: tha_watcha - Thursday, 11 September 2014 12:35:35
[quote=paerison;64472]update to the update... it compiles and runs in the IDE ->> IIS Express/port:xxxx >> http://localhost:50165 when I move the DLLs to the production IIS server, it breaks... nothing I can put my finger on though... With some of the changes to profile and the fact that the alpha filters for member search rung into full screen monstors, it might have something to do there... why wouldn't it work just the same I wonder. I looked at the applicationhost.config from IIS Express, nothing jumped out as being overtly obvious... If anyone has run into this and can save me days of headache, it would be appreciated.[/quote] What errors did you get exactly. Without knowing what error i would guess you have modified some files and then forgot to copy all updated files to the production. Have you updated all dlls and if you modified any ascx files?

Posted by: paerison - Thursday, 11 September 2014 20:24:19
[quote=tha_watcha;64479]What errors did you get exactly. Without knowing what error i would guess you have modified some files and then forgot to copy all updated files to the production. Have you updated all dlls and if you modified any ascx files?[/quote] That's just it, no errors per sae... just an odd behavior, as described... I just installed VC Pro 2013 Student, will try recompiling and report back

Posted by: paerison - Thursday, 11 September 2014 20:50:48
this is what it does in prod

Posted by: paerison - Thursday, 11 September 2014 21:08:29
Ok, so I might be a tard... I looks like SQL2012 took a dump, re-installing services now.

Posted by: tha_watcha - Thursday, 11 September 2014 21:08:56
That looks like some css issues ( missing files). Does the browser console shows any error messages?

Posted by: paerison - Thursday, 11 September 2014 21:16:44
[quote=tha_watcha;64492]That looks like some css issues ( missing files). Does the browser console shows any error messages?[/quote] So apparently there are parts of SQL2008 that are [h][u][i][b]REQUIRED[/b][/i][/u][/h] by SQL2012.... Once again, thank you bill gates. Hint found here >> [url=http://social.technet.microsoft.com/Forums/systemcenter/en-US/90c26fe8-5f1f-4fd1-9c11-c59651babbaf/sql-server-2012-stops-running-after-setup-files-are-copied?forum=sqlsetupandupgrade]SQL Server 2012 stops running after setup files are copied[/url]

Posted by: paerison - Friday, 12 September 2014 19:25:07
that did not solve the problem... I created tgdata-dev and uploaded everything... I think it was a PEBCAK error... [code]YAF Compiled in DEBUG MODE. Recompile in RELEASE MODE to remove this information:[/code] but, no more CSS like error... mind you, I uploaded the ENTIRE C:\Users\user\Documents\GitHub\YAFNET\yafsrc\YetAnotherForum.NET to the server... so i'm not sure if it is site specific (iis7), file specific (something was missing), or compile specific...

Posted by: paerison - Friday, 12 September 2014 19:50:18
ok, so I removed the "extra" directories that were NOT in the production server which came from the "stable release" problem re-produced so it seems that it was a PEBCAK error... I was compiling the most recent GIT, which includes a "script" directory amongst other things... Is there a way to make VS "package" the site to remove the source code files from the release? :-\ [url=http://msdn.microsoft.com/en-us/library/wx0123s5.aspx]How to: Set Debug and Release Configurations[/url] RTFM :'(

Posted by: paerison - Friday, 12 September 2014 21:23:24
hazah! it HELPS if you RTFM before tyring to copy stuff... used the "publish" in VS, after correcting an error with missing XML files in the directory, and then xcopied the result to the dev server, tested, then copied to production and it now works... it seems to be running a LOT slower than the production was though. 1506CDT -> resolved by rebuild