-
Notifications
You must be signed in to change notification settings - Fork 878
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Schema Compare Apply fails with an error #22957
Comments
You can use the following large target proc as an example, but anything ~68kb or larger can be used to replicate the issue. |
Hi, I have tried the Insiders release (1.47.0-insider) using the SQL Database Projects (v1.3.1) and Schema Compare (v1.21.0) extensions and the problem still exists. Any ETA on the fix? Some additional logging info (exthost.log) when this occurs (after selecting the Apply button):
|
@tecodan I acknowledge the critical nature of this issue and its impact on your daily operations. We are working to prioritize and schedule this fix. |
Any update on this - I end up applying most of my changes manually to get around this issue. |
I am also having this problem, with schema compare v1.21.0, is there a way to install a previous version of schema compare that works? I am using this on Windows with ADS 1.48.0. I have tried downgrading ADS to 1.47.1, but the problem remains. My colleague is running ADS 1.47.0 and schema compare 1.21.0 on Linux, and he does not get the problem. Could it be related to underlying C libraries, with differences between Windows and Linux? Are any users reporting this using Linux? |
I have all but given up on this tool and have moved over to use the Schema Compare tool in the ever-bloated VS2022 |
I have the same issue. Odd that it hasn't been resolved yet. |
Issue Type: Bug
After selecting 'Apply', the following error is produced:
"Apply schema compare changes failed....Error: index and length must refer to a location within the string. (Parameter 'length')"
I'm using DB as source, and SQL Project as target. Error seems to occur on 'Change' actions, and specifically on SqlProcedure types.
After some testing, it seems this issue occurs when the Target (in my SQL Project) is ~66kb or larger, and the Source (Proc in the DB) could be any size.
Anything less than ~66kb is OK, anything greater than ~66kb results in an error.
Applying changes in an older version of the Schema Compare tool (< Nov 2022 version) had no problems with large Stored procs.
Extension version: 1.18.0
Azure Data Studio version: azuredatastudio 1.42.0 (22f384e, 2023-03-17T18:15:48.982Z)
OS version: Windows_NT x64 10.0.17763
Restricted Mode: No
Preview Features: Enabled
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: disabled_software
multiple_raster_threads: enabled_on
opengl: disabled_off
rasterization: disabled_software
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: disabled_software
video_encode: disabled_software
vulkan: disabled_off
webgl: unavailable_software
webgl2: unavailable_software
webgpu: disabled_off
The text was updated successfully, but these errors were encountered: