I am experiencing a very strange behaviour of redgate that prevents me from commiting the changes I made to the database (I'm using git). I can click "Get Latest" and get no errors, everything works, but when I try to commit I get an error without any description (please see the screenshot).
I'm asking for help cause I have no idea what maybe wrong. Thanks in advance!
One other suggestion is to create a copy of the GIT config file, (call it GIT2.xml) and add the -verbose switch to see if it then creates some useful output. You'll need to unlink and re-link with the new config file for it to be picked up.
Please make sure that your system's PATH is pointing to the right Git.exe. You may want to check your path for C:\Program Files (x86)\Git\cmd and change that to C:\Program Files (x86)\Git\bin.
I still have no idea what was causing the problem. I ended up committing the changes using Tortoise GIT.
Anyway, no one has spotted that Redgate is performing a git checkout trying to switch a branch into a file?! And surpressing the error with -q. This looks like a bug in redgate.
Maybe the developers misunderstood git's checkout and treated it as subversion's checkout, but this commands are completely different and they should have known it.
Thanks for all the answers.
Here is the post that put some light on my issue:
http://www.red-gate.com/messageboard/viewtopic.php?t=15157
Related
I've spent the better part of today and last night on this and I can't figure it out.
I've searched for a similar error but none of the descriptions seem to fit my case.
My issue is that in visual studio, it's showing that I have uncommitted changes. In this case, it's the deletion of a file.
context: I'm doing a code-along tutorial for Reactjs and I delete my src file and replace it with the tutorial's in case I miss anything and commit along the way. It's been working flawlessly more than half of the way done with the tutorial.
Anyway, now when I try to commit to Github through Visual Studio, I get this error showing,
I've tried revert and reset --hard to before when I got this error and no luck. I don't know what else to do.
Please help.
I somehow got lucky and figured it out.
I just had to delete the existing Aux.js file and it was able to work.
🤷
can someone pls tell me how bad the found malcode in one of my webserver is ?
I found it in public_html/outlet.
here is the code pastebin
i deleted the directory and try now to search my logs.
thanks for your answer
tango2000
It isn't evident how bad it is. However, the real bad part is that they were able to inject code into your server.
Since you don't know how did they do it, it doesn't matter that you deleted the folder that contained the script. The vulnerability is still there and they will hack you again eventually.
I have been working on a system to push changes from my git repository to a live site. The issue is that on my local box (where only I have access) I leave db credentials defaults; but I don't want them to be defaults on the web.
What would be the best solution to have a few files that are only located on each development computer, and are never uploaded/committed, etc. I was thinking of throwing in an example file if anyone clones it down, that way they'd know how to create the real credentials file.
I'm pretty new to git, and so I don't think I have the experience to really come up with a good solution for this, so any help would be great.
Thanks,
Max
Your idea of committing an examples file and then not actually tracking the real file is a good one.
Just put the name of the real file in .gitignore so that no one will add it by accident.
Im looking for a tool that will watch directory(with sub-dirs) and give me the list of files that has changed and what has changed in them. Ive found some tools that show me files that has changed, but that is not enough for me.
P.S. I dont want to write it if someone has already written it.
P.S.2. Feel free to close this question if you are bored, however it is programming related since I need that tool to analize complicated data-structure of eclipse-plugins.
One idea is to check all your files (i.e your eclipse installation dir) into a VCS like Git or subversion and run a git diff or svn diff, respectively. Combine this with live information from inotify-tools and you have got a decent setup. I don't know of any integrated solutions though.
So the last couple of days my dev webpage for ssrs has been looking really weird, as if it's not getting styled by css at all. I'm not the only person that is seeing it like this. We just rebooted the server and it didn't have any effect. If you know what it causing this, please help.
another symptom is that i can't modify security settings now.
If I were you, I would view the page using FF (firebug), and take a look in the head to see whether the CSS is being imported.
If it is, make sure the path is correct.
A couple of general things come to mind...
Make sure your IIS application/virtual directory settings are correct especially if you are using SSRS2005. The default IIS applications are "Reports" and "ReportServer"
Make sure the NTFS rights are correct for Local path. For example the default location for ReportServer is "c:\Program Files\Microsoft SQL Server\MSSQL.3\Reporting Services\ReportServer"
In my experience when strange things like this are happening there are user rights/access issues. Especially when you can't modify security settings.
HTH
Well it kinda seems to have fixed itself.
This may be a bit naive, but have you tried an offline version of the code?
Get the generated HTML via "view source" in your browser of choice, then get the stylesheet by accessing it directly from the same browser, using whatever the path is from the html (I recommend Google Chrome, as the view source provides clickable hyperlinks within the source). Put them both on your desktop, making sure the relative paths are preserved, and see what it looks like offline.
I'm sure that the server/Microsoft produce all of this code and so it's SUPPOSED to work, so a missing closing tag or misplaced semi-colon is probably not the answer, but I have found more than once that pulling my output off the server and onto my desktop has made the problem go from mysterious to "Oh! Duh! /styles/style.css, not /Styles/style.css" etc etc.
The problem can only be with your server if www doesn't have read/execute access to all of the right folders. I find this really unlikely, but it's easy to check by simply trying to view the source code of the CSS. If you can, the problem is post-server output.